public abstract class NuxeoPropertyDataBase<T> extends Object implements org.apache.chemistry.opencmis.commons.data.PropertyData<T>
Concrete classes must also implement one of PropertyId
, PropertyString
, ...
NuxeoPropertyData
Modifier and Type | Class and 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.
|
Modifier and Type | Field and Description |
---|---|
protected DocumentModel |
doc |
protected org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> |
propertyDefinition |
Constructor and Description |
---|
NuxeoPropertyDataBase(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> propertyDefinition,
DocumentModel doc) |
Modifier and Type | Method and 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) |
protected final org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> propertyDefinition
protected final DocumentModel doc
public NuxeoPropertyDataBase(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> propertyDefinition, DocumentModel doc)
public org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> getPropertyDefinition()
public String getId()
getId
in interface org.apache.chemistry.opencmis.commons.data.PropertyData<T>
public String getLocalName()
getLocalName
in interface org.apache.chemistry.opencmis.commons.data.PropertyData<T>
public String getDisplayName()
getDisplayName
in interface org.apache.chemistry.opencmis.commons.data.PropertyData<T>
public String getQueryName()
getQueryName
in interface org.apache.chemistry.opencmis.commons.data.PropertyData<T>
public <U> U getValue()
public abstract T getFirstValue()
getFirstValue
in interface org.apache.chemistry.opencmis.commons.data.PropertyData<T>
public List<T> getValues()
getValues
in interface org.apache.chemistry.opencmis.commons.data.PropertyData<T>
public List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> getExtensions()
getExtensions
in interface org.apache.chemistry.opencmis.commons.data.ExtensionsData
public void setExtensions(List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> extensions)
setExtensions
in interface org.apache.chemistry.opencmis.commons.data.ExtensionsData
Copyright © 2018 Nuxeo. All rights reserved.