public interface DynamicPropertySet extends Copyable
| Modifier and Type | Method and Description |
|---|---|
java.util.Map |
getProperties()
Retrieves a map holding the property-value pairs.
|
java.lang.Object |
getProperty(java.lang.String key)
Retrieves the value associated with a property.
|
java.lang.Object |
getProperty(java.lang.String key,
java.lang.Object defaultValue)
Retrieves the value associated with a property.
|
void |
setProperties(java.util.Map properties)
Sets the map holding the property-value pairs.
|
void |
setProperty(java.lang.String key,
java.lang.Object value)
Sets the value for a property.
|
java.lang.Object getProperty(java.lang.String key)
key - the property key for which a value is desired.
exists.null value
if the property does not exist or is not set.java.lang.Object getProperty(java.lang.String key,
java.lang.Object defaultValue)
key - the property key for which a value is desired.defaultValue - the value to return if no value currently
exists.void setProperty(java.lang.String key,
java.lang.Object value)
null
removes that property.key - the property key to setvalue - the value to setjava.util.Map getProperties()
void setProperties(java.util.Map properties)