Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-1367

Extend MetaModelService to expose the nature of a domain service. Have DomainObjectContainer#isViewModel(...) delegate to it.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.12.0
    • 1.13.0
    • Core
    • None

    Description

      public interface MetaModelService
      
         @Programmatic
          public Nature natureOf(Class<?> cls);
      
         /**
          * convenience; just calls {@link #natureOf(Class)} for the class of the provided object.
          */
         @Programmatic
          public Nature natureOf(Object obj);
      
          ...
      }
      

      Attachments

        Issue Links

          Activity

            People

              danhaywood Daniel Keir Haywood
              danhaywood Daniel Keir Haywood
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: