OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cmis message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Commented: (CMIS-64) cmisProperty doesn'thave getPropertyType() method, but all of its subclasses do.



    [ http://tools.oasis-open.org/issues/browse/CMIS-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10153#action_10153 ] 

Norrie Quinn commented on CMIS-64:
----------------------------------

This seems to be a JAXB specific issue.  

For unbound consumers, the property type is available in the xsi:type attribute.  For bound consumers the type is usually reflected in the binding.  For JAXB by default, this is instanceof, and given that you have to cast the property this should not be a problem.  This is similar for other binding frameworks.

I propose that the initial proposal here is rejected, and that we do not investigate adding any JAXB annotations to the schema for this.

> cmisProperty doesn't have getPropertyType() method, but all of its subclasses do.
> ---------------------------------------------------------------------------------
>
>                 Key: CMIS-64
>                 URL: http://tools.oasis-open.org/issues/browse/CMIS-64
>             Project: OASIS Content Management Interoperability Services TC
>          Issue Type: Bug
>            Reporter: Ryan McVeigh
>
> The cmisProperty element does not have a getPropertyType() method, but all of its subclasses do.  This is due to base type not containing propertyType.  There's a similar issue w/ CmisProperty getValue(), that method is on the sub properties, but not on CmisProperty.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]