ssdbms.ssd
Class RealValue

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

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

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

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

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

Constructor Detail

RealValue

public RealValue(double value)
Constructs a real primitive value from a java double value.

Method Detail

getValue

public double getValue()
Returns the double representation of the real value.

Returns:
A double that represents the value stored.