public class PropertiesImpl extends AbstractExtensionData implements Properties
| Constructor and Description |
|---|
PropertiesImpl()
Constructor.
|
PropertiesImpl(Collection<PropertyData<?>> properties)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(PropertyData<?> property)
Adds a property.
|
Map<String,PropertyData<?>> |
getProperties()
Returns a map of properties (property id => property).
|
List<PropertyData<?>> |
getPropertyList()
Returns the list of properties.
|
void |
removeProperty(String id)
Removes a property.
|
void |
replaceProperty(PropertyData<?> property)
Replaces a property.
|
String |
toString() |
getExtensions, setExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtensions, setExtensionspublic PropertiesImpl()
public PropertiesImpl(Collection<PropertyData<?>> properties)
properties - initial collection of propertiespublic Map<String,PropertyData<?>> getProperties()
PropertiesgetProperties in interface Propertiespublic List<PropertyData<?>> getPropertyList()
PropertiesgetPropertyList in interface Propertiespublic void addProperty(PropertyData<?> property)
property - the propertypublic void replaceProperty(PropertyData<?> property)
property - the propertypublic void removeProperty(String id)
id - the property idpublic String toString()
toString in class AbstractExtensionDataCopyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.