[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [cmis-comment] Property ID uniqueness
Raphael brings up an interesting point that I feel requires discussion before responding.
There are two use cases on the property definitions that are important:
1. Property Definitions are stored separately from type definitions and then applied/added to type definitions. In that scenario those fields would not be different if the same backing property is used.
2. Property ID conveys semantic equality such that a client can determine if property x (title) is the same as property y (name) on different type definitions.
Since CMIS dictates the object id for the base properties, in particular cmis:name, cmis:objectId, cmis:objectTypeId, cmis:baseTypeId, cmis:createdBy, cmis:creationDate, cmis:lastModifiedBy, cmis:lastModififcationDate, and cmis:changeToken. Out of those, I would expect cmis:name to be the most likely one to use different backing properties. With FileNet, we map two different properties to cmis:name - one for folder and one for documents. I believe the lengths are the same in the FileNet case though.
We have gone through the various proposals on property definitions and now have id, localName/localNamespace, displayName, and queryName. Out of those, only is used for references and is mandated by CMIS specification.
I would propose that use case #2 (semantic equality) be moved from property ID to localName/localNamespace. I would also state that a property definition can change (max length, etc as described below) between type definitions. That seems in line with the original intent of the statement highlighted.
Thoughts?
-Al
Al Brown
Office 714 327 3453
Mobile 714 251 6441
Email albertcbrown@us.ibm.com
CONFIDENTIAL NOTICE: The contents of this message, including any attachments, are confidential and are intended solely for the use of the person or entity to whom the message was addressed. If you are not the intended recipient of this message, please be advised that any dissemination, distribution, or use of the contents of this message is strictly prohibited. If you received this message in error, please notify the sender. Please also permanently delete all copies of the original message and any attached documentation.
Raphaël Jean ---01/16/2010 03:24:00 AM---Section 2.1.3.3.2 of the spec states that the Property ID "uniquely identifies the property in the r
From: Raphaël Jean <raphael.jean@entropysoft.net>
To: <cmis-comment@lists.oasis-open.org>
Date: 01/16/2010 03:24 AM
Subject: [cmis-comment] Property ID uniqueness
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]