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