Package org.alfresco.opencmis.dictionary
Interface CMISPropertyAccessor
-
public interface CMISPropertyAccessorCMIS Property Accessor (get and set property values)- Author:
- davidc
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CMISNodeInfocreateNodeInfo(AssociationRef assocRef)Creates a node info object form the given association ref.CMISNodeInfocreateNodeInfo(NodeRef nodeRef)Creates a node info object form the given node ref.QNamegetMappedProperty()Get the (directly) mapped Alfresco property (if a direct mapping exists)StringgetName()Get the CMIS Property NameSerializablegetValue(CMISNodeInfo nodeInfo)Get the property value for a node or an associationvoidsetValue(NodeRef nodeRef, Serializable value)Set the property value for a node
-
-
-
Method Detail
-
getName
String getName()
Get the CMIS Property Name- Returns:
- String
-
getMappedProperty
QName getMappedProperty()
Get the (directly) mapped Alfresco property (if a direct mapping exists)- Returns:
- QName
-
setValue
void setValue(NodeRef nodeRef, Serializable value)
Set the property value for a node- Parameters:
nodeRef- NodeRefvalue- Serializable
-
getValue
Serializable getValue(CMISNodeInfo nodeInfo)
Get the property value for a node or an association- Parameters:
nodeInfo- CMISNodeInfo- Returns:
- Serializable
-
createNodeInfo
CMISNodeInfo createNodeInfo(NodeRef nodeRef)
Creates a node info object form the given node ref.
-
createNodeInfo
CMISNodeInfo createNodeInfo(AssociationRef assocRef)
Creates a node info object form the given association ref.
-
-