org.openfast.template
Class TwinValue

java.lang.Object
  extended by org.openfast.ScalarValue
      extended by org.openfast.template.TwinValue
All Implemented Interfaces:
java.io.Serializable, FieldValue

public class TwinValue
extends ScalarValue

See Also:
Serialized Form

Field Summary
 ScalarValue first
           
 ScalarValue second
           
 
Fields inherited from class org.openfast.ScalarValue
NULL, UNDEFINED
 
Constructor Summary
TwinValue(ScalarValue first, ScalarValue second)
          TwinValue Constructor - takes two ScalarValues
 
Method Summary
 boolean equals(java.lang.Object obj)
          Checks to see if the object passed to it is a TwinValue object
 int hashCode()
           
 java.lang.String toString()
          Converts the ScalarValues first and second to strings
 
Methods inherited from class org.openfast.ScalarValue
copy, equalsValue, getBytes, isNull, isUndefined, toBigDecimal, toByte, toDouble, toInt, toLong, toShort
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

first

public final ScalarValue first

second

public final ScalarValue second
Constructor Detail

TwinValue

public TwinValue(ScalarValue first,
                 ScalarValue second)
TwinValue Constructor - takes two ScalarValues

Parameters:
first - ScalarValue
second - ScalarValue
Method Detail

equals

public boolean equals(java.lang.Object obj)
Checks to see if the object passed to it is a TwinValue object

Overrides:
equals in class java.lang.Object
Parameters:
obj - The object to be checked if it is a TwinValue object
Returns:
If the passed object is a TwinValue object, returns true, false otherwise

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Converts the ScalarValues first and second to strings

Overrides:
toString in class ScalarValue
Returns:
string in the form (first ScalarValue, second ScalarValue)


Copyright © 2006-2008 The LaSalle Technology Group, LLC. All Rights Reserved.