talx x1.0.5

wizx.lang
Class RecordValue

java.lang.Object
  extended bywizx.lang.Value
      extended bywizx.lang.RecordValue

public class RecordValue
extends Value


Constructor Summary
RecordValue(java.lang.String propertyName, Value propertyValue)
           
 
Method Summary
 Value addProperty(java.lang.String propertyName, Value v)
          Adds a property to the Record value for later dereferencing.
 BooleanValue convertToBoolean()
           
 NumberValue convertToNumber()
           
 RecordValue convertToRecord()
           
 StringValue convertToString()
           
 Value dereference(java.lang.String propertyName)
          Returns dereferenced property or StringValue.EMPTY if the property does not exist.
 boolean equals(java.lang.Object o)
           
 java.lang.String toString()
           
 
Methods inherited from class wizx.lang.Value
convertToList, parse
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RecordValue

public RecordValue(java.lang.String propertyName,
                   Value propertyValue)
Method Detail

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()

talx x1.0.5

© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.