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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A fixed Boolean property.static class
A fixed property (whose value cannot be changed).static class
A fixed ID property.static class
A fixed multi-ID property.static class
A fixed Integer property.static class
A fixed multi-valued property (whose value cannot be changed).static class
A fixed String property. -
Field Summary
Modifier and TypeFieldDescriptionprotected final DocumentModel
protected final org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T>
-
Constructor Summary
ConstructorDescriptionNuxeoPropertyDataBase
(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> propertyDefinition, DocumentModel doc) -
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement>
abstract T
getId()
org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T>
<U> U
getValue()
void
setExtensions
(List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> extensions) void
-
Field Details
-
propertyDefinition
protected final org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> propertyDefinition -
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
- Specified by:
getId
in interfaceorg.apache.chemistry.opencmis.commons.data.PropertyData<T>
-
getLocalName
- Specified by:
getLocalName
in interfaceorg.apache.chemistry.opencmis.commons.data.PropertyData<T>
-
getDisplayName
- Specified by:
getDisplayName
in interfaceorg.apache.chemistry.opencmis.commons.data.PropertyData<T>
-
getQueryName
- Specified by:
getQueryName
in interfaceorg.apache.chemistry.opencmis.commons.data.PropertyData<T>
-
getValue
public <U> U getValue() -
getFirstValue
- Specified by:
getFirstValue
in interfaceorg.apache.chemistry.opencmis.commons.data.PropertyData<T>
-
getValues
- Specified by:
getValues
in interfaceorg.apache.chemistry.opencmis.commons.data.PropertyData<T>
-
setValue
-
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
-