[
https://issues.apache.org/jira/browse/ISIS-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood resolved ISIS-197.
------------------------------
Resolution: Duplicate
of ISIS-216, I think.
> Make OidWithSpecification the default, with the object type optionally
> specified via an annotation.
> ---------------------------------------------------------------------------------------------------
>
> Key: ISIS-197
> URL: https://issues.apache.org/jira/browse/ISIS-197
> Project: Isis
> Issue Type: Improvement
> Components: Core: Runtime
> Affects Versions: 0.1.2-incubating
> Reporter: Dan Haywood
>
> So that special case handling of SerialOid (as used by the in-memory object
> store and as the Scimpi viewer has special case handling for could be
> removed, and so that there would be a pleasant enString'ed representation of
> (at least the classname portion of) and OidWithSpecification.
> for example:
> @ObjectType("CUS")
> public class Customer {
> private int id;
> }
> would correspond to "CUS~123" as the serialized form of its
> OidWithSpecification, and "CUS" being used as an alias for the fully
> qualified class name com.mycompany.myapp.Customer.
> If the annotation was missing, eg:
> public class Order {
> private int id;
> }
> then the OidWithSpecification would be more like
> "com.mycompany.myapp.Order~456"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira