[
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)