wizx.lang
Class RecordValue
java.lang.Object
wizx.lang.Value
wizx.lang.RecordValue
- public class RecordValue
- extends Value
|
Constructor Summary |
RecordValue(java.lang.String propertyName,
Value propertyValue)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RecordValue
public RecordValue(java.lang.String propertyName,
Value propertyValue)
dereference
public Value dereference(java.lang.String propertyName)
- Returns dereferenced property or StringValue.EMPTY if the property does not exist.
- Overrides:
dereference in class Value
addProperty
public Value addProperty(java.lang.String propertyName,
Value v)
- Adds a property to the Record value for later dereferencing.
- Overrides:
addProperty in class Value
- Parameters:
propertyName - the name to store the value.v - the value to associate with the property name.
convertToBoolean
public BooleanValue convertToBoolean()
- Overrides:
convertToBoolean in class Value
convertToNumber
public NumberValue convertToNumber()
- Overrides:
convertToNumber in class Value
convertToString
public StringValue convertToString()
- Overrides:
convertToString in class Value
convertToRecord
public RecordValue convertToRecord()
- Overrides:
convertToRecord in class Value
equals
public boolean equals(java.lang.Object o)
toString
public java.lang.String toString()
© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.