ssdbms.ssd
Class IntegerValue

java.lang.Object
  extended byssdbms.ssd.IntegerValue
All Implemented Interfaces:
PrimitiveValue, SimpleValue, SSDValue

public final class IntegerValue
extends java.lang.Object
implements SimpleValue

This class represents a integer primitive value. It wraps a java long variable to storage the content of the datum.

Author:
Egar Arturo García Cárdenas.
See Also:
SimpleValue, PrimitiveValue

Field Summary
static int SIZE
           
 
Fields inherited from interface ssdbms.ssd.SSDValue
BLOB, BYTE_SEQUENCE, CLOB, INTEGER, NON_PRIMITIVE, REAL, STRING
 
Constructor Summary
IntegerValue(long value)
          Constructs a integer primitive value from a java long value.
 
Method Summary
 long getValue()
          Returns the long representation of the integer value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIZE

public static final int SIZE
See Also:
Constant Field Values
Constructor Detail

IntegerValue

public IntegerValue(long value)
Constructs a integer primitive value from a java long value.

Method Detail

getValue

public long getValue()
Returns the long representation of the integer value.

Returns:
A long that represents the value stored.