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

Constructor Summary
UnmodifiableProperty(String pName, Object pValue)
          UnmodifiableProperty constructor comment.
 
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
 
Methods inherited from class planetj.property.Property
clone, equals, getKey, getName, getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnmodifiableProperty

public UnmodifiableProperty(String pName,
                            Object pValue)
UnmodifiableProperty constructor comment.

Parameters:
pName - java.lang.String
pValue - java.lang.Object
Method Detail

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