org.alfresco.opencmis.mapping
Class DirectProperty

java.lang.Object
  extended by org.alfresco.opencmis.mapping.AbstractProperty
      extended by org.alfresco.opencmis.mapping.DirectProperty
All Implemented Interfaces:
org.alfresco.opencmis.dictionary.CMISPropertyAccessor

public class DirectProperty
extends AbstractProperty

A simple 1-1 property mapping from a CMIS property name to an alfresco property


Constructor Summary
DirectProperty(ServiceRegistry serviceRegistry, CMISConnector connector, java.lang.String propertyName, org.alfresco.service.namespace.QName alfrescoName)
          Construct
 
Method Summary
 org.alfresco.service.namespace.QName getMappedProperty()
           
 java.io.Serializable getValueInternal(org.alfresco.opencmis.dictionary.CMISNodeInfo nodeInfo)
           
 
Methods inherited from class org.alfresco.opencmis.mapping.AbstractProperty
createNodeInfo, createNodeInfo, getContentData, getName, getServiceRegistry, getValue, getValue, getValue, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectProperty

public DirectProperty(ServiceRegistry serviceRegistry,
                      CMISConnector connector,
                      java.lang.String propertyName,
                      org.alfresco.service.namespace.QName alfrescoName)
Construct

Parameters:
serviceRegistry -
propertyName -
alfrescoName -
Method Detail

getMappedProperty

public org.alfresco.service.namespace.QName getMappedProperty()
Specified by:
getMappedProperty in interface org.alfresco.opencmis.dictionary.CMISPropertyAccessor
Overrides:
getMappedProperty in class AbstractProperty

getValueInternal

public java.io.Serializable getValueInternal(org.alfresco.opencmis.dictionary.CMISNodeInfo nodeInfo)
Specified by:
getValueInternal in class AbstractProperty


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.