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