Class NuxeoProperty<T>
- java.lang.Object
-
- org.nuxeo.ecm.core.opencmis.impl.client.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 aNuxeoPropertyData
.
-
-
Constructor Summary
Constructors Constructor Description NuxeoProperty(NuxeoObject object, String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T>
getDefinition()
String
getDisplayName()
List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement>
getExtensions()
T
getFirstValue()
String
getId()
String
getLocalName()
String
getQueryName()
org.apache.chemistry.opencmis.commons.enums.PropertyType
getType()
<U> U
getValue()
String
getValueAsString()
List<T>
getValues()
String
getValuesAsString()
boolean
isMultiValued()
void
setExtensions(List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> extensions)
-
-
-
Constructor Detail
-
NuxeoProperty
public NuxeoProperty(NuxeoObject object, String id)
-
-
Method Detail
-
getDefinition
public org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> getDefinition()
- Specified by:
getDefinition
in interfaceorg.apache.chemistry.opencmis.client.api.Property<T>
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceorg.apache.chemistry.opencmis.commons.data.PropertyData<T>
-
getId
public String getId()
- Specified by:
getId
in interfaceorg.apache.chemistry.opencmis.commons.data.PropertyData<T>
-
getLocalName
public String getLocalName()
- Specified by:
getLocalName
in interfaceorg.apache.chemistry.opencmis.commons.data.PropertyData<T>
-
getQueryName
public String getQueryName()
- Specified by:
getQueryName
in interfaceorg.apache.chemistry.opencmis.commons.data.PropertyData<T>
-
getType
public org.apache.chemistry.opencmis.commons.enums.PropertyType getType()
- Specified by:
getType
in interfaceorg.apache.chemistry.opencmis.client.api.Property<T>
-
getValue
public <U> U getValue()
- Specified by:
getValue
in interfaceorg.apache.chemistry.opencmis.client.api.Property<T>
-
getFirstValue
public T getFirstValue()
- Specified by:
getFirstValue
in interfaceorg.apache.chemistry.opencmis.commons.data.PropertyData<T>
-
getValueAsString
public String getValueAsString()
- Specified by:
getValueAsString
in interfaceorg.apache.chemistry.opencmis.client.api.Property<T>
-
getValuesAsString
public String getValuesAsString()
- Specified by:
getValuesAsString
in interfaceorg.apache.chemistry.opencmis.client.api.Property<T>
-
getValues
public List<T> getValues()
- Specified by:
getValues
in interfaceorg.apache.chemistry.opencmis.commons.data.PropertyData<T>
-
isMultiValued
public boolean isMultiValued()
- Specified by:
isMultiValued
in interfaceorg.apache.chemistry.opencmis.client.api.Property<T>
-
getExtensions
public List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> getExtensions()
- Specified by:
getExtensions
in interfaceorg.apache.chemistry.opencmis.commons.data.ExtensionsData
-
setExtensions
public void setExtensions(List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> extensions)
- Specified by:
setExtensions
in interfaceorg.apache.chemistry.opencmis.commons.data.ExtensionsData
-
-