org.openfast
Class NumericValue

java.lang.Object
  extended by org.openfast.ScalarValue
      extended by org.openfast.NumericValue
All Implemented Interfaces:
java.io.Serializable, FieldValue
Direct Known Subclasses:
DecimalValue, IntegerValue, LongValue

public abstract class NumericValue
extends ScalarValue

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openfast.ScalarValue
NULL, UNDEFINED
 
Constructor Summary
NumericValue()
           
 
Method Summary
abstract  NumericValue add(NumericValue addend)
           
abstract  NumericValue decrement()
           
abstract  boolean equals(int value)
           
abstract  NumericValue increment()
           
abstract  NumericValue subtract(NumericValue priorValue)
           
abstract  int toInt()
           
abstract  long toLong()
           
 
Methods inherited from class org.openfast.ScalarValue
copy, equalsValue, getBytes, isNull, isUndefined, toBigDecimal, toByte, toDouble, toShort, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NumericValue

public NumericValue()
Method Detail

increment

public abstract NumericValue increment()

decrement

public abstract NumericValue decrement()

subtract

public abstract NumericValue subtract(NumericValue priorValue)

add

public abstract NumericValue add(NumericValue addend)

equals

public abstract boolean equals(int value)

toLong

public abstract long toLong()
Overrides:
toLong in class ScalarValue

toInt

public abstract int toInt()
Overrides:
toInt in class ScalarValue


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