chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jay brown (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CMIS-890) CMIS spec needs clarification
Date Tue, 03 Feb 2015 18:19:34 GMT

    [ https://issues.apache.org/jira/browse/CMIS-890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14303700#comment-14303700
] 

jay brown commented on CMIS-890:
--------------------------------

The title of this should not be 'spec needs clarification' rather that the opencmis server
framework should preserve the order of the properties for responses to create/update type
since this is required by the spec. 

> CMIS spec needs clarification
> -----------------------------
>
>                 Key: CMIS-890
>                 URL: https://issues.apache.org/jira/browse/CMIS-890
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-server
>    Affects Versions: OpenCMIS 0.12.0
>            Reporter: Yigal Dayan
>            Priority: Minor
>              Labels: CMIS, createType, specification
>             Fix For: OpenCMIS 0.12.0
>
>
> The TypeDefinition abstract class contains this method:
> Map<String, PropertyDefinition<?>> getPropertyDefinitions();
> The createType specification states that its output TypeDefinition must match the order
of the properties in the input TypeDefinition.
> Note that the output may contain new or renamed PropertyDefinition keys.
> To satisfy the order requirement, the spec should stipulate that the  Map<String,
PropertyDefinition<?>>  preserve order. i.e.  the iterator on this map must return
items in the same order they were added to the map. 
> For example, this can be accomplished by using a container that has both a List (to allow
control of the ordering) and a Map that refers to it (for quick access to specific items).
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message