|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hardcode.gdbms.engine.values.AbstractValue com.hardcode.gdbms.engine.values.DateValue
public class DateValue
Wrapper sobre el tipo Date
Field Summary |
---|
Fields inherited from interface com.hardcode.gdbms.engine.values.Value |
---|
BINARY, BOOLEAN, BYTE, DATE, DOUBLE, FLOAT, INT, LONG, SHORT, STRING, TIME, TIMESTAMP |
Constructor Summary | |
---|---|
DateValue()
|
Method Summary | |
---|---|
int |
doHashCode()
The hashCode implementation. |
Value |
equals(Value value)
|
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 |
java.sql.Date |
getValue()
|
Value |
greater(Value value)
|
Value |
greaterEqual(Value value)
|
Value |
less(Value value)
|
Value |
lessEqual(Value value)
|
Value |
notEquals(Value value)
|
void |
setValue(java.util.Date d)
Establece el valor |
java.lang.String |
toString()
DOCUMENT ME! |
Methods inherited from class com.hardcode.gdbms.engine.values.AbstractValue |
---|
and, doEquals, equals, hashCode, inversa, like, or, producto, suma |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DateValue()
Method Detail |
---|
public void setValue(java.util.Date d)
d
- valorpublic Value equals(Value value) throws IncompatibleTypesException
equals
in interface Value
equals
in class AbstractValue
IncompatibleTypesException
com.hardcode.gdbms.engine.values.Operations#equals(com.hardcode.gdbms.engine.values.DateValue)
public Value greater(Value value) throws IncompatibleTypesException
greater
in interface Value
greater
in class AbstractValue
IncompatibleTypesException
com.hardcode.gdbms.engine.values.Operations#greater(com.hardcode.gdbms.engine.values.DateValue)
public Value greaterEqual(Value value) throws IncompatibleTypesException
greaterEqual
in interface Value
greaterEqual
in class AbstractValue
IncompatibleTypesException
com.hardcode.gdbms.engine.values.Operations#greaterEqual(com.hardcode.gdbms.engine.values.DateValue)
public Value less(Value value) throws IncompatibleTypesException
less
in interface Value
less
in class AbstractValue
IncompatibleTypesException
com.hardcode.gdbms.engine.values.Operations#less(com.hardcode.gdbms.engine.values.DateValue)
public Value lessEqual(Value value) throws IncompatibleTypesException
lessEqual
in interface Value
lessEqual
in class AbstractValue
IncompatibleTypesException
com.hardcode.gdbms.engine.values.Operations#lessEqual(com.hardcode.gdbms.engine.values.DateValue)
public Value notEquals(Value value) throws IncompatibleTypesException
notEquals
in interface Value
notEquals
in class AbstractValue
IncompatibleTypesException
com.hardcode.gdbms.engine.values.Operations#notEquals(com.hardcode.gdbms.engine.values.DateValue)
public java.lang.String toString()
toString
in class java.lang.Object
public int doHashCode()
Value
doHashCode
in interface Value
Value.doHashCode()
public java.sql.Date getValue()
public java.lang.String getStringValue(ValueWriter writer)
Value
getStringValue
in interface Value
writer
- Specifies the string representation for the values
com.hardcode.gdbms.engine.values.Value#getStringValue(com.hardcode.gdbms.engine.data.driver.ValueWriter)
public int getType()
Value
getType
in interface Value
Value.getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |