org.apache.chemistry.opencmis.client.api
Interface Property<T>

All Superinterfaces:
ExtensionsData, PropertyData<T>

public interface Property<T>
extends PropertyData<T>

CMIS Property.

Domain Model 2.2.1


Method Summary
 PropertyDefinition<T> getDefinition()
          Returns the property definition.
 PropertyType getType()
          Returns the property data type.
<U> U
getValue()
          Returns the property value (single or multiple).
 String getValueAsString()
          Returns a human readable representation of the property value.
 String getValuesAsString()
          Returns a human readable representation of the property values.
 boolean isMultiValued()
          Returns if the property is a multi-value property.
 
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
 

Method Detail

isMultiValued

boolean isMultiValued()
Returns if the property is a multi-value property.


getType

PropertyType getType()
Returns the property data type.


getDefinition

PropertyDefinition<T> getDefinition()
Returns the property definition.


getValue

<U> U getValue()
Returns the property value (single or multiple).


getValueAsString

String getValueAsString()
Returns a human readable representation of the property value. If the property is multi-value property, only the first value will be returned.


getValuesAsString

String getValuesAsString()
Returns a human readable representation of the property values.



Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.