|
||||||||||
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.PropertiesImpl
public class PropertiesImpl
Properties data implementation.
Constructor Summary | |
---|---|
PropertiesImpl()
Constructor. |
|
PropertiesImpl(java.util.Collection<PropertyData<?>> properties)
Constructor. |
Method Summary | |
---|---|
void |
addProperty(PropertyData<?> property)
Adds a property. |
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. |
void |
removeProperty(java.lang.String id)
Removes a property. |
void |
replaceProperty(PropertyData<?> property)
Replaces a property. |
java.lang.String |
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.ExtensionsData |
---|
getExtensions, setExtensions |
Constructor Detail |
---|
public PropertiesImpl()
public PropertiesImpl(java.util.Collection<PropertyData<?>> properties)
properties
- initial collection of propertiesMethod Detail |
---|
public java.util.Map<java.lang.String,PropertyData<?>> getProperties()
Properties
getProperties
in interface Properties
public java.util.List<PropertyData<?>> getPropertyList()
Properties
getPropertyList
in interface Properties
public void addProperty(PropertyData<?> property)
property
- the propertypublic void replaceProperty(PropertyData<?> property)
property
- the propertypublic void removeProperty(java.lang.String id)
id
- the property idpublic java.lang.String toString()
toString
in class AbstractExtensionData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |