|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Field Summary |
| Fields inherited from interface org.apache.derby.iapi.types.Orderable |
ORDER_OP_EQUALS, ORDER_OP_GREATEROREQUALS, ORDER_OP_GREATERTHAN, ORDER_OP_LESSOREQUALS, ORDER_OP_LESSTHAN |
| Method Summary | |
BooleanDataValue |
and(BooleanDataValue otherValue)
The SQL AND operator. |
boolean |
equals(boolean value)
Tell whether a BooleanDataValue has the given value. |
boolean |
getBoolean()
Gets the value in the data value descriptor as a boolean. |
BooleanDataValue |
is(BooleanDataValue otherValue)
The SQL IS operator - consult any standard SQL reference for an explanation. |
BooleanDataValue |
isNot(BooleanDataValue otherValue)
Implements NOT IS. |
BooleanDataValue |
or(BooleanDataValue otherValue)
The SQL OR operator. |
void |
setValue(java.lang.Boolean theValue)
Set the value of this BooleanDataValue. |
BooleanDataValue |
throwExceptionIfFalse(java.lang.String SQLState,
java.lang.String tableName,
java.lang.String constraintName)
Throw an exception with the given SQLState if this BooleanDataValue is false. |
| Methods inherited from interface org.apache.derby.iapi.types.DataValueDescriptor |
checkHostVariable, coalesce, compare, compare, equals, estimateMemoryUsage, getByte, getBytes, getClone, getDate, getDouble, getFloat, getInt, getLength, getLong, getNewNull, getObject, getShort, getStream, getString, getTime, getTimestamp, getTypeName, greaterOrEquals, greaterThan, in, isNotNull, isNullOp, lessOrEquals, lessThan, normalize, notEquals, readExternalFromArray, setBigDecimal, setInto, setInto, setObjectForCast, setToNull, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromResultSet, typePrecedence, typeToBigDecimal |
| Methods inherited from interface org.apache.derby.iapi.services.io.Storable |
isNull, restoreToNull |
| Methods inherited from interface java.io.Externalizable |
readExternal, writeExternal |
| Methods inherited from interface org.apache.derby.iapi.services.io.TypedFormat |
getTypeFormatId |
| Method Detail |
public boolean getBoolean()
DataValueDescriptor
getBoolean in interface DataValueDescriptorpublic BooleanDataValue and(BooleanDataValue otherValue)
otherValue - The other BooleanDataValue to AND with this one
public BooleanDataValue or(BooleanDataValue otherValue)
otherValue - The other BooleanDataValue to OR with this one
public BooleanDataValue is(BooleanDataValue otherValue)
otherValue - BooleanDataValue to compare to. May be TRUE, FALSE, or UNKNOWN.
public BooleanDataValue isNot(BooleanDataValue otherValue)
otherValue - BooleanDataValue to compare to. May be TRUE, FALSE, or UNKNOWN.
public BooleanDataValue throwExceptionIfFalse(java.lang.String SQLState,
java.lang.String tableName,
java.lang.String constraintName)
throws StandardException
SQLState - The SQLState of the exception to throw if
this SQLBoolean is false.tableName - The name of the table to include in the exception
message.constraintName - The name of the failed constraint to include
in the exception message.
StandardException - Thrown if this BooleanDataValue
is false.public void setValue(java.lang.Boolean theValue)
theValue - Contains the boolean value to set this BooleanDataValue
to. Null means set this BooleanDataValue to null.
public boolean equals(boolean value)
value - The value to look for
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||