wyvern.kernel.properties
Class Property

java.lang.Object
  extended bywyvern.kernel.properties.Property

public class Property
extends java.lang.Object

This object encapsulates a property and its value. It's used internally by the property parser, but could conceivably be used by other code.

Version:
1.0, Feb 15, 1998
Author:
Steve Yegge

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

Property

public Property(java.lang.String name,
                java.lang.Object value)
Constructs a new Property.

Method Detail

setName

public void setName(java.lang.String name)
Sets the name of the property we're representing.


setValue

public void setValue(java.lang.Object value)
Sets the value of the property we're representing.


getName

public java.lang.String getName()
Returns the name of the property we're representing.


getValue

public java.lang.Object getValue()
Returns the value of the property we're representing.


toString

public java.lang.String toString()
Returns a string representation of the property.