You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2016/04/10 13:17:25 UTC

[jira] [Created] (ISIS-1367) Extend MetaModelService to expose the nature of a domain service. Have DomainObjectContainer#isViewModel(...) delegate to it.

Dan Haywood created ISIS-1367:
---------------------------------

             Summary: Extend MetaModelService to expose the nature of a domain service.  Have DomainObjectContainer#isViewModel(...) delegate to it.
                 Key: ISIS-1367
                 URL: https://issues.apache.org/jira/browse/ISIS-1367
             Project: Isis
          Issue Type: Improvement
          Components: Core
    Affects Versions: 1.12.0
            Reporter: Dan Haywood
            Assignee: Dan Haywood
            Priority: Minor
             Fix For: 1.13.0


{code}
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);

    ...
}
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)