ssdbms.ssd
Class StringValue

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

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

This class represents a string primitive value. It wraps a java string 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
StringValue(java.lang.String value)
          Constructs a string primitive value represents the given java string.
 
Method Summary
 java.lang.String getValue()
          Returns the String representation of this value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringValue

public StringValue(java.lang.String value)
            throws BadSSDValueException
Constructs a string primitive value represents the given java string.

Throws:
BadSSDValueException - If value is null.
Method Detail

getValue

public java.lang.String getValue()
Returns the String representation of this value.

Returns:
A String that represents the value stored.