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:
NuxeoPropertyData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NuxeoPropertyDataBase.NuxeoPropertyBooleanDataFixed
A fixed Boolean property.static class
NuxeoPropertyDataBase.NuxeoPropertyDataFixed<T>
A fixed property (whose value cannot be changed).static class
NuxeoPropertyDataBase.NuxeoPropertyIdDataFixed
A fixed ID property.static class
NuxeoPropertyDataBase.NuxeoPropertyIdMultiDataFixed
A fixed multi-ID property.static class
NuxeoPropertyDataBase.NuxeoPropertyIntegerDataFixed
A fixed Integer property.static class
NuxeoPropertyDataBase.NuxeoPropertyMultiDataFixed<T>
A fixed multi-valued property (whose value cannot be changed).static class
NuxeoPropertyDataBase.NuxeoPropertyStringDataFixed
A fixed String property.
-
Field Summary
Fields Modifier and Type Field Description protected DocumentModel
doc
protected org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T>
propertyDefinition
-
Constructor Summary
Constructors Constructor Description NuxeoPropertyDataBase(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> propertyDefinition, DocumentModel doc)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement>
getExtensions()
abstract T
getFirstValue()
String
getId()
String
getLocalName()
org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T>
getPropertyDefinition()
String
getQueryName()
<U> U
getValue()
List<T>
getValues()
void
setExtensions(List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> extensions)
void
setValue(Object value)
-
-
-
Field Detail
-
propertyDefinition
protected final org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> propertyDefinition
-
doc
protected final DocumentModel doc
-
-
Constructor Detail
-
NuxeoPropertyDataBase
public NuxeoPropertyDataBase(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> propertyDefinition, DocumentModel doc)
-
-
Method Detail
-
getPropertyDefinition
public org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> getPropertyDefinition()
-
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>
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
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>
-
getValue
public <U> U getValue()
-
getFirstValue
public abstract T getFirstValue()
- Specified by:
getFirstValue
in interfaceorg.apache.chemistry.opencmis.commons.data.PropertyData<T>
-
getValues
public List<T> getValues()
- Specified by:
getValues
in interfaceorg.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 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
-
-