com.hardcode.gdbms.engine.values
Class NullValue
java.lang.Object
com.hardcode.gdbms.engine.values.AbstractValue
com.hardcode.gdbms.engine.values.NullValue
- All Implemented Interfaces:
- Value, java.io.Serializable
public class NullValue
- extends AbstractValue
- implements java.io.Serializable
DOCUMENT ME!
- Author:
- Fernando González Cortés
- See Also:
- Serialized Form
| Fields inherited from interface com.hardcode.gdbms.engine.values.Value |
BINARY, BOOLEAN, BYTE, DATE, DOUBLE, FLOAT, INT, LONG, SHORT, STRING, TIME, TIMESTAMP |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
NullValue
public NullValue()
toString
public java.lang.String toString()
- DOCUMENT ME!
- Overrides:
toString in class java.lang.Object
- Returns:
- DOCUMENT ME!
doHashCode
public int doHashCode()
- Description copied from interface:
Value
- The hashCode implementation. Every value with the same semantic
information must return the same int
- Specified by:
doHashCode in interface Value
- Returns:
- integer
- See Also:
Value.doHashCode()
and
public Value and(Value value)
throws IncompatibleTypesException
- Specified by:
and in interface Value- Overrides:
and in class AbstractValue
- Throws:
IncompatibleTypesException- See Also:
com.hardcode.gdbms.engine.instruction.Operations#and(com.hardcode.gdbms.engine.values.value);
equals
public Value equals(Value value)
throws IncompatibleTypesException
- Specified by:
equals in interface Value- Overrides:
equals in class AbstractValue
- Throws:
IncompatibleTypesException- See Also:
com.hardcode.gdbms.engine.instruction.Operations#equals(com.hardcode.gdbms.engine.values.Value)
greater
public Value greater(Value value)
throws IncompatibleTypesException
- Specified by:
greater in interface Value- Overrides:
greater in class AbstractValue
- Throws:
IncompatibleTypesException- See Also:
com.hardcode.gdbms.engine.instruction.Operations#greater(com.hardcode.gdbms.engine.values.Value)
greaterEqual
public Value greaterEqual(Value value)
throws IncompatibleTypesException
- Specified by:
greaterEqual in interface Value- Overrides:
greaterEqual in class AbstractValue
- Throws:
IncompatibleTypesException- See Also:
com.hardcode.gdbms.engine.instruction.Operations#greaterEqual(com.hardcode.gdbms.engine.values.Value)
less
public Value less(Value value)
throws IncompatibleTypesException
- Specified by:
less in interface Value- Overrides:
less in class AbstractValue
- Throws:
IncompatibleTypesException- See Also:
com.hardcode.gdbms.engine.instruction.Operations#less(com.hardcode.gdbms.engine.values.Value)
lessEqual
public Value lessEqual(Value value)
throws IncompatibleTypesException
- Specified by:
lessEqual in interface Value- Overrides:
lessEqual in class AbstractValue
- Throws:
IncompatibleTypesException- See Also:
com.hardcode.gdbms.engine.instruction.Operations#lessEqual(com.hardcode.gdbms.engine.values.Value)
like
public Value like(Value value)
throws IncompatibleTypesException
- Specified by:
like in interface Value- Overrides:
like in class AbstractValue
- Throws:
IncompatibleTypesException- See Also:
com.hardcode.gdbms.engine.values.Operations#like(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.instruction.Operations#notEquals(com.hardcode.gdbms.engine.values.Value)
or
public Value or(Value value)
throws IncompatibleTypesException
- Specified by:
or in interface Value- Overrides:
or in class AbstractValue
- Throws:
IncompatibleTypesException- See Also:
com.hardcode.gdbms.engine.instruction.Operations#or(com.hardcode.gdbms.engine.values.value);
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
- Specified by:
getStringValue in interface Value
- 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
- Specified by:
getType in interface Value
- Returns:
- a java.sql.Types constant
- See Also:
Value.getType()
Copyright © 2005-2006 . All Rights Reserved.