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/23 11:09:12 UTC
[jira] [Resolved] (ISIS-1367) Extend MetaModelService to expose the
nature of a domain service. Have DomainObjectContainer#isViewModel(...)
delegate to it.
[ https://issues.apache.org/jira/browse/ISIS-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Haywood resolved ISIS-1367.
-------------------------------
Resolution: Duplicate
> 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)