|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pfsw.odem.ObjectProperties
public class ObjectProperties
This is an implementation of IObjectProperties which is provided here as convenience, so that not everybody is forced create his own implementation.
Constructor Summary | |
---|---|
ObjectProperties()
Initialize the new instance with default values. |
Method Summary | |
---|---|
java.lang.Object |
getProperty(java.lang.String propertyName)
Returns the property associated with the given name. |
java.lang.String[] |
getPropertyNames()
Returns all currently known properties. |
void |
setProperty(java.lang.String propertyName,
java.lang.Object object)
Sets the value of the property with the specified name to the given object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectProperties()
Method Detail |
---|
public java.lang.Object getProperty(java.lang.String propertyName)
getProperty
in interface IObjectProperties
propertyName
- A valid name (must not be null or empty string)
public void setProperty(java.lang.String propertyName, java.lang.Object object)
setProperty
in interface IObjectProperties
propertyName
- A valid name (must not be null or empty string)object
- The object to keep under the specified property namepublic java.lang.String[] getPropertyNames()
getPropertyNames
in interface IObjectProperties
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |