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