|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.kernel.properties.Property
This object encapsulates a property and its value. It's used internally by the property parser, but could conceivably be used by other code.
Constructor Summary | |
Property(java.lang.String name,
java.lang.Object value)
Constructs a new Property. |
Method Summary | |
java.lang.String |
getName()
Returns the name of the property we're representing. |
java.lang.Object |
getValue()
Returns the value of the property we're representing. |
void |
setName(java.lang.String name)
Sets the name of the property we're representing. |
void |
setValue(java.lang.Object value)
Sets the value of the property we're representing. |
java.lang.String |
toString()
Returns a string representation of the property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Property(java.lang.String name, java.lang.Object value)
Method Detail |
public void setName(java.lang.String name)
public void setValue(java.lang.Object value)
public java.lang.String getName()
public java.lang.Object getValue()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |