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 (Created) (JIRA)" <ji...@apache.org> on 2012/02/15 23:56:01 UTC

[jira] [Created] (ISIS-197) Make OidWithSpecification the default, with the object type optionally specified via an annotation.

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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (ISIS-197) Make OidWithSpecification the default, with the object type optionally specified via an annotation.

Posted by "Dan Haywood (JIRA)" <ji...@apache.org>.
     [ 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