org.apache.chemistry.opencmis.commons.data
Interface Properties

All Superinterfaces:
ExtensionsData

public interface Properties
extends ExtensionsData


Method Summary
 java.util.Map<java.lang.String,PropertyData<?>> getProperties()
          Returns a map of properties (property id => property).
 java.util.List<PropertyData<?>> getPropertyList()
          Returns the list of properties.
 
Methods inherited from interface org.apache.chemistry.opencmis.commons.data.ExtensionsData
getExtensions, setExtensions
 

Method Detail

getProperties

java.util.Map<java.lang.String,PropertyData<?>> getProperties()
Returns a map of properties (property id => property). Should not be used with queries because some repositories don't set property ids, and because when dealing with queries the proper key is usually the query name (when using JOINs, several properties with the same id may be returned).


getPropertyList

java.util.List<PropertyData<?>> getPropertyList()
Returns the list of properties.



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