isql.constant
Class BooleanConstant
java.lang.Object
isql.constant.BooleanConstant
- All Implemented Interfaces:
- IConstant, ITypedValue
public class BooleanConstant
- extends java.lang.Object
- implements IConstant
A boolean constant (true or false)
- Author:
- SHZ Sep 28, 2007
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BooleanConstant
public BooleanConstant(java.lang.Boolean value)
getType
public ColumnType getType()
- Specified by:
getType
in interface ITypedValue
- Returns:
- the type
getValue
public java.lang.Boolean getValue()
- Returns:
- the value
getValueAsObject
public java.lang.Object getValueAsObject()
- Description copied from interface:
IConstant
- The value of the constant
- Specified by:
getValueAsObject
in interface IConstant
- Returns:
- a Double, String, Boolean or Timestamp object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object