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-82) Property Definitions: Aproperty definition should not ever say READONLY + REQUIRED



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

David Choy commented on CMIS-82:
--------------------------------

As described on p.38, a "read-only" property is a system property that is maintained or calculated by the repository. It can not be updated by application using the updateProperties() method.
For a non-read-only property, "required" means the property can not be in a "value not set" state. It MUST have a value either provided by application or set by default.
For a read-only (i.e. system) property, "required" means a value MUST be returned when the property is requested. "Not required" means the system property may be in a "value not set" state.

This definition is a bit overloaded. One is "read-only" means system property. The other is "required" has two different meaning, depending on the updatability attribute, which can cause confusion. If we want to avoid overloading, we can either add another attribute, or remove some modeling granularity.

> Property Definitions: A property definition should not ever say READONLY + REQUIRED
> -----------------------------------------------------------------------------------
>
>                 Key: CMIS-82
>                 URL: http://tools.oasis-open.org/issues/browse/CMIS-82
>             Project: OASIS Content Management Interoperability Services TC
>          Issue Type: Bug
>          Components: Domain Model
>    Affects Versions: Draft 0.52
>            Reporter: Ethan Gur-esh
>            Assignee: Ethan Gur-esh
>            Priority: Trivial
>
> Currently in the CMIS spec we have the following 2 attributes on a property definition:
> - updateability: Where you can say a property is readonly (i.e. the app can never set it)
> - required: Where you can say that a property is required. 
> BUt it's not clear/obvious what it would mean to have a property that is read-only and required... what is an application supposed to do in that situation?

-- 
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]