org.openfast
Class ScalarValue

java.lang.Object
  extended by org.openfast.ScalarValue
All Implemented Interfaces:
java.io.Serializable, FieldValue
Direct Known Subclasses:
BitVectorValue, ByteVectorValue, DateValue, NumericValue, StringValue, TwinValue

public class ScalarValue
extends java.lang.Object
implements FieldValue

See Also:
Serialized Form

Field Summary
static ScalarValue NULL
           
static ScalarValue UNDEFINED
           
 
Constructor Summary
ScalarValue()
           
 
Method Summary
 FieldValue copy()
           
 boolean equalsValue(java.lang.String defaultValue)
           
 byte[] getBytes()
           
 boolean isNull()
           
 boolean isUndefined()
           
 java.math.BigDecimal toBigDecimal()
           
 byte toByte()
           
 double toDouble()
           
 int toInt()
           
 long toLong()
           
 short toShort()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNDEFINED

public static final ScalarValue UNDEFINED

NULL

public static final ScalarValue NULL
Constructor Detail

ScalarValue

public ScalarValue()
Method Detail

equalsValue

public boolean equalsValue(java.lang.String defaultValue)
Returns:
Returns false

copy

public FieldValue copy()
Specified by:
copy in interface FieldValue

isUndefined

public boolean isUndefined()
Returns:
Returns false

isNull

public boolean isNull()
Returns:
Returns false

toByte

public byte toByte()

toShort

public short toShort()

toInt

public int toInt()

toLong

public long toLong()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getBytes

public byte[] getBytes()

toDouble

public double toDouble()

toBigDecimal

public java.math.BigDecimal toBigDecimal()


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