Class NuxeoPropertyDataBase<T>

java.lang.Object
org.nuxeo.ecm.core.opencmis.impl.server.NuxeoPropertyDataBase<T>
All Implemented Interfaces:
org.apache.chemistry.opencmis.commons.data.ExtensionsData, org.apache.chemistry.opencmis.commons.data.PropertyData<T>
Direct Known Subclasses:
NuxeoPropertyData, NuxeoPropertyData.NuxeoPropertyDataCheckInComment, NuxeoPropertyData.NuxeoPropertyDataContentStreamDigest, NuxeoPropertyData.NuxeoPropertyDataContentStreamFileName, NuxeoPropertyData.NuxeoPropertyDataContentStreamLength, NuxeoPropertyData.NuxeoPropertyDataContentStreamMimeType, NuxeoPropertyData.NuxeoPropertyDataIsLatestMajorVersion, NuxeoPropertyData.NuxeoPropertyDataIsLatestVersion, NuxeoPropertyData.NuxeoPropertyDataIsMajorVersion, NuxeoPropertyData.NuxeoPropertyDataIsVersionSeriesCheckedOut, NuxeoPropertyData.NuxeoPropertyDataName, NuxeoPropertyData.NuxeoPropertyDataParentId, NuxeoPropertyData.NuxeoPropertyDataPath, NuxeoPropertyData.NuxeoPropertyDataVersionLabel, NuxeoPropertyData.NuxeoPropertyDataVersionSeriesCheckedOutBy, NuxeoPropertyData.NuxeoPropertyDataVersionSeriesCheckedOutId, NuxeoPropertyDataBase.NuxeoPropertyDataFixed, NuxeoPropertyDataBase.NuxeoPropertyMultiDataFixed

public abstract class NuxeoPropertyDataBase<T> extends Object implements org.apache.chemistry.opencmis.commons.data.PropertyData<T>
Base abstract class for a live property of an object.

Concrete classes must also implement one of PropertyId, PropertyString, ...

See Also:
  • Field Details

    • propertyDefinition

      protected final org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> propertyDefinition
    • doc

      protected final DocumentModel doc
  • Constructor Details

    • NuxeoPropertyDataBase

      public NuxeoPropertyDataBase(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> propertyDefinition, DocumentModel doc)
  • Method Details

    • getPropertyDefinition

      public org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> getPropertyDefinition()
    • getId

      public String getId()
      Specified by:
      getId in interface org.apache.chemistry.opencmis.commons.data.PropertyData<T>
    • getLocalName

      public String getLocalName()
      Specified by:
      getLocalName in interface org.apache.chemistry.opencmis.commons.data.PropertyData<T>
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface org.apache.chemistry.opencmis.commons.data.PropertyData<T>
    • getQueryName

      public String getQueryName()
      Specified by:
      getQueryName in interface org.apache.chemistry.opencmis.commons.data.PropertyData<T>
    • getValue

      public <U> U getValue()
    • getFirstValue

      public abstract T getFirstValue()
      Specified by:
      getFirstValue in interface org.apache.chemistry.opencmis.commons.data.PropertyData<T>
    • getValues

      public List<T> getValues()
      Specified by:
      getValues in interface org.apache.chemistry.opencmis.commons.data.PropertyData<T>
    • setValue

      public void setValue(Object value)
    • getExtensions

      public List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> getExtensions()
      Specified by:
      getExtensions in interface org.apache.chemistry.opencmis.commons.data.ExtensionsData
    • setExtensions

      public void setExtensions(List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> extensions)
      Specified by:
      setExtensions in interface org.apache.chemistry.opencmis.commons.data.ExtensionsData