planetj.property
Class UnmodifiableProperty
java.lang.Object
planetj.property.Property
planetj.property.UnmodifiableProperty
- All Implemented Interfaces:
- java.lang.Cloneable, INamed, java.io.Serializable
- public class UnmodifiableProperty
- extends Property
A property whose name and value cannot be modified
- See Also:
- Serialized Form
Constructor Summary |
UnmodifiableProperty(java.lang.String pName,
java.lang.Object pValue)
UnmodifiableProperty constructor comment. |
Method Summary |
void |
setName(java.lang.String newName)
Sets the name of this name-value pair |
void |
setValue(java.lang.Object newValue)
Sets the value of this NameValue pair |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
UnmodifiableProperty
public UnmodifiableProperty(java.lang.String pName,
java.lang.Object pValue)
- UnmodifiableProperty constructor comment.
- Parameters:
pName
- java.lang.StringpValue
- java.lang.Object
setName
public void setName(java.lang.String newName)
- Sets the name of this name-value pair
- Overrides:
setName
in class Property
setValue
public void setValue(java.lang.Object newValue)
- Sets the value of this NameValue pair
- Overrides:
setValue
in class Property