public class BasePropertyHolder extends java.lang.Object implements IPropertyHolder
IPropertyHolder
interface.Constructor and Description |
---|
BasePropertyHolder() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProperty(java.lang.String name)
Retrieves the named property, or null if the property is not defined.
|
java.util.List |
getPropertyNames()
Returns a List of Strings, the names of all
properties held by the receiver.
|
void |
removeProperty(java.lang.String name)
Removes the named property, if present.
|
void |
setProperty(java.lang.String name,
java.lang.String value)
Sets a named property.
|
public BasePropertyHolder()
public java.lang.String getProperty(java.lang.String name)
IPropertyHolder
getProperty
in interface IPropertyHolder
public void setProperty(java.lang.String name, java.lang.String value)
IPropertyHolder
setProperty
in interface IPropertyHolder
public void removeProperty(java.lang.String name)
IPropertyHolder
removeProperty
in interface IPropertyHolder
public java.util.List getPropertyNames()
IPropertyHolder
Prior to release 2.2, this method returned Collection.
getPropertyNames
in interface IPropertyHolder