|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractExtensionData
org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractPropertyData<T>
org.apache.chemistry.opencmis.client.runtime.PropertyImpl<T>
public class PropertyImpl<T>
Property Implementation.
Constructor Summary | |
---|---|
PropertyImpl(Property<T> property)
Copy constructor. |
|
PropertyImpl(PropertyDefinition<T> pd,
java.util.List<T> values)
Constructs a property from a list of values. |
Method Summary | ||
---|---|---|
PropertyDefinition<T> |
getDefinition()
Returns the property definition. |
|
PropertyType |
getType()
Returns the property data type. |
|
|
getValue()
Returns the property value (single or multiple). |
|
java.lang.String |
getValueAsString()
Returns a human readable representation of the property value. |
|
java.lang.String |
getValuesAsString()
Returns a human readable representation of the property values. |
|
protected void |
initialize(PropertyDefinition<?> pd)
|
|
boolean |
isMultiValued()
Returns if the property is a multi-value property. |
Methods inherited from class org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractPropertyData |
---|
getDisplayName, getFirstValue, getId, getLocalName, getQueryName, getValues, setDisplayName, setId, setLocalName, setQueryName, setValue, setValues, toString |
Methods inherited from class org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractExtensionData |
---|
getExtensions, setExtensions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.chemistry.opencmis.commons.data.PropertyData |
---|
getDisplayName, getFirstValue, getId, getLocalName, getQueryName, getValues |
Methods inherited from interface org.apache.chemistry.opencmis.commons.data.ExtensionsData |
---|
getExtensions, setExtensions |
Constructor Detail |
---|
public PropertyImpl(PropertyDefinition<T> pd, java.util.List<T> values)
public PropertyImpl(Property<T> property)
Method Detail |
---|
protected void initialize(PropertyDefinition<?> pd)
public PropertyDefinition<T> getDefinition()
Property
getDefinition
in interface Property<T>
public PropertyType getType()
Property
getType
in interface Property<T>
public <U> U getValue()
Property
getValue
in interface Property<T>
public java.lang.String getValueAsString()
Property
getValueAsString
in interface Property<T>
public java.lang.String getValuesAsString()
Property
getValuesAsString
in interface Property<T>
public boolean isMultiValued()
Property
isMultiValued
in interface Property<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |