chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (JIRA) <j...@apache.org>
Subject [jira] Commented: (CMIS-240) getProperties vs. updateProperties
Date Wed, 15 Sep 2010 12:20:34 GMT

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

Florian Müller commented on CMIS-240:
-------------------------------------

Well, getProperties() provides easy access to (for example) the display name, the query name
or the default value. Even if you know the property you are looking for, you can't guess those.
But I agree, getPropertiesValues() would be good to have.

> getProperties vs. updateProperties
> ----------------------------------
>
>                 Key: CMIS-240
>                 URL: https://issues.apache.org/jira/browse/CMIS-240
>             Project: Chemistry
>          Issue Type: Wish
>          Components: opencmis-client
>            Reporter: Stephan Klevenz
>             Fix For: 0.2.0-incubating
>
>
> The method CmisObject.getProperties() returns List<Property<?>> but for setting
properties with CmisObject.updateProperties(Map<String,?> properties) I need another
type Map<String,?>.  Why are there two different types and how to convert one type into
another? 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message