Class NuxeoProperty<T>

  • All Implemented Interfaces:
    org.apache.chemistry.opencmis.client.api.Property<T>, org.apache.chemistry.opencmis.commons.data.ExtensionsData, org.apache.chemistry.opencmis.commons.data.PropertyData<T>

    public class NuxeoProperty<T>
    extends Object
    implements org.apache.chemistry.opencmis.client.api.Property<T>
    Live Nuxeo document property, wrapping a NuxeoPropertyData.
    • Method Detail

      • getDefinition

        public org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> getDefinition()
        Specified by:
        getDefinition in interface org.apache.chemistry.opencmis.client.api.Property<T>
      • getDisplayName

        public String getDisplayName()
        Specified by:
        getDisplayName in interface org.apache.chemistry.opencmis.commons.data.PropertyData<T>
      • 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>
      • getQueryName

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

        public org.apache.chemistry.opencmis.commons.enums.PropertyType getType()
        Specified by:
        getType in interface org.apache.chemistry.opencmis.client.api.Property<T>
      • getValue

        public <U> U getValue()
        Specified by:
        getValue in interface org.apache.chemistry.opencmis.client.api.Property<T>
      • getFirstValue

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

        public String getValueAsString()
        Specified by:
        getValueAsString in interface org.apache.chemistry.opencmis.client.api.Property<T>
      • getValuesAsString

        public String getValuesAsString()
        Specified by:
        getValuesAsString in interface org.apache.chemistry.opencmis.client.api.Property<T>
      • getValues

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

        public boolean isMultiValued()
        Specified by:
        isMultiValued in interface org.apache.chemistry.opencmis.client.api.Property<T>
      • 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