ssdbms.ssd
Class ByteSequenceValue

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

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

This class represents a sequence ob bytes. It uses a byte array 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
ByteSequenceValue(byte[] bytes)
          Constructs a byte sequence represents the given byte array.
 
Method Summary
 byte[] getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteSequenceValue

public ByteSequenceValue(byte[] bytes)
                  throws BadSSDValueException
Constructs a byte sequence represents the given byte array.

Throws:
BadSSDValueException - If bytes is null.
Method Detail

getValue

public byte[] getValue()