org.apache.chemistry.opencmis.commons.data
Interface PropertyData<T>

All Superinterfaces:
ExtensionsData
All Known Subinterfaces:
Property<T>, PropertyBoolean, PropertyDateTime, PropertyDecimal, PropertyHtml, PropertyId, PropertyInteger, PropertyString, PropertyUri

public interface PropertyData<T>
extends ExtensionsData

Base property interface.


Method Summary
 java.lang.String getDisplayName()
          Returns the display name.
 T getFirstValue()
          Returns the first entry of the list of values.
 java.lang.String getId()
          Returns the property id.
 java.lang.String getLocalName()
          Returns the local name.
 java.lang.String getQueryName()
          Returns the query name.
 java.util.List<T> getValues()
          Returns the list of values of this property.
 
Methods inherited from interface org.apache.chemistry.opencmis.commons.data.ExtensionsData
getExtensions, setExtensions
 

Method Detail

getId

java.lang.String getId()
Returns the property id.

Returns:
the property id

getLocalName

java.lang.String getLocalName()
Returns the local name.

Returns:
the local name or null

getDisplayName

java.lang.String getDisplayName()
Returns the display name.

Returns:
the display name or null

getQueryName

java.lang.String getQueryName()
Returns the query name.

Returns:
the query name or null

getValues

java.util.List<T> getValues()
Returns the list of values of this property. For a single value property this is a list with one entry.

Returns:
the list of values or (in rare cases) null

getFirstValue

T getFirstValue()
Returns the first entry of the list of values.

Returns:
first entry of the list of values or (in rare cases) null


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