public class PropertyBag extends java.lang.Object implements IPropertyBag
| Constructor and Description |
|---|
PropertyBag() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getProperty(java.lang.Object key)
Returns the value to which the specified key is mapped, or
null
if there is no mapping for the key. |
java.util.List<java.lang.Object> |
getPropertyKeys()
Returns a
List of all available property keys. |
java.lang.Object |
putProperty(java.lang.Object key,
java.lang.Object value)
Associates the specified value with the specified key.
|
public java.lang.Object getProperty(java.lang.Object key)
IPropertyBagnull
if there is no mapping for the key.getProperty in interface IPropertyBagIPropertyBag.putProperty(Object, Object)public java.lang.Object putProperty(java.lang.Object key,
java.lang.Object value)
IPropertyBagputProperty in interface IPropertyBagkey - key with which the specified value is to be associatedvalue - value to be associated with the specified keyIPropertyBag.getProperty(Object)public java.util.List<java.lang.Object> getPropertyKeys()
IPropertyBagList of all available property keys. The list may be
empty.getPropertyKeys in interface IPropertyBag