com.hardcode.gdbms.engine.values
Class BinaryValue

java.lang.Object
  extended by com.hardcode.gdbms.engine.values.AbstractValue
      extended by com.hardcode.gdbms.engine.values.BinaryValue
All Implemented Interfaces:
Value

public class BinaryValue
extends AbstractValue


Field Summary
 
Fields inherited from interface com.hardcode.gdbms.engine.values.Value
BINARY, BOOLEAN, BYTE, DATE, DOUBLE, FLOAT, INT, LONG, SHORT, STRING, TIME, TIMESTAMP
 
Method Summary
 int doHashCode()
          The hashCode implementation.
 Value equals(Value value)
          DOCUMENT ME!
 java.lang.String getStringValue(ValueWriter writer)
          Gets the string representation of the value as it is defined in the specified ValueWriter
 int getType()
          Gets the type of the value
 byte[] getValue()
           
 Value notEquals(Value value)
           
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class com.hardcode.gdbms.engine.values.AbstractValue
and, doEquals, equals, greater, greaterEqual, hashCode, inversa, less, lessEqual, like, or, producto, suma
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!

equals

public Value equals(Value value)
             throws IncompatibleTypesException
DOCUMENT ME!

Specified by:
equals in interface Value
Overrides:
equals in class AbstractValue
Parameters:
value - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
IncompatibleTypesException - DOCUMENT ME!
See Also:
com.hardcode.gdbms.engine.instruction.Operations#equals(com.hardcode.gdbms.engine.values.Value)

notEquals

public Value notEquals(Value value)
                throws IncompatibleTypesException
Specified by:
notEquals in interface Value
Overrides:
notEquals in class AbstractValue
Throws:
IncompatibleTypesException
See Also:
com.hardcode.gdbms.engine.values.Value#notEquals()

doHashCode

public int doHashCode()
Description copied from interface: Value
The hashCode implementation. Every value with the same semantic information must return the same int

Returns:
integer
See Also:
Value.doHashCode()

getValue

public byte[] getValue()
Returns:

getStringValue

public java.lang.String getStringValue(ValueWriter writer)
Description copied from interface: Value
Gets the string representation of the value as it is defined in the specified ValueWriter

Parameters:
writer - Specifies the string representation for the values
Returns:
String
See Also:
com.hardcode.gdbms.engine.values.Value#getStringValue(com.hardcode.gdbms.engine.data.driver.ValueWriter)

getType

public int getType()
Description copied from interface: Value
Gets the type of the value

Returns:
a java.sql.Types constant
See Also:
Value.getType()


Copyright © 2005-2006 . All Rights Reserved.