|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--planetj.property.Property
Associates a name with a value
| Constructor Summary | |
Property()
Property constructor |
|
Property(String pName,
Object pValue)
Property constructor |
|
| Method Summary | |
Object |
clone()
|
boolean |
equals(Object o)
Test two property objects for equality |
Object |
getKey()
Gets the name of this name-value pair |
String |
getName()
Gets the name of this name-value pair |
Object |
getValue()
Gets the value of this NameValue pair |
int |
hashCode()
Get the hashcode for this Property object |
void |
setName(String newName)
Sets the name of this name-value pair |
void |
setValue(Object newValue)
Sets the value of this NameValue pair |
String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Property()
public Property(String pName,
Object pValue)
| Method Detail |
public Object clone()
clone in class Objectpublic boolean equals(Object o)
equals in class Objectpublic Object getKey()
public String getName()
getName in interface INamedpublic Object getValue()
getValue in interface INamedpublic int hashCode()
hashCode in class Objectpublic void setName(String newName)
public void setValue(Object newValue)
public String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||