Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
public abstract class CharBooleanType
extends BooleanType
Method Summary | |
Object |
|
protected abstract String | |
protected abstract String | |
String |
|
void |
|
int |
|
Object |
|
Methods inherited from class org.hibernate.type.BooleanType | |
fromStringValue , get , getDefaultValue , getName , getPrimitiveClass , getReturnedClass , objectToSQLString , set , sqlType , stringToObject |
Methods inherited from class org.hibernate.type.PrimitiveType | |
getDefaultValue , getPrimitiveClass , toString |
Methods inherited from class org.hibernate.type.ImmutableType | |
deepCopy , isMutable , replace |
Methods inherited from class org.hibernate.type.NullableType | |
fromStringValue , fromXMLNode , fromXMLString , get , getColumnSpan , isDirty , isEqual , isEqual , nullSafeGet , nullSafeGet , nullSafeGet , nullSafeGet , nullSafeSet , nullSafeSet , nullSafeSet , nullSafeToString , set , setToXMLNode , sqlType , sqlTypes , toColumnNullness , toLoggableString , toString , toXMLString |
Methods inherited from class org.hibernate.type.AbstractType | |
assemble , beforeAssemble , compare , disassemble , getHashCode , getHashCode , getSemiResolvedType , hydrate , isAnyType , isAssociationType , isCollectionType , isComponentType , isDirty , isEntityType , isEqual , isEqual , isModified , isSame , isXMLElement , replace , replaceNode , resolve , semiResolve |
public Object get(ResultSet rs, String name) throws SQLException
- Overrides:
- get in interface BooleanType
protected abstract String getFalseString()
protected abstract String getTrueString()
public String objectToSQLString(Object value, Dialect dialect) throws Exception
String representation of the value, suitable for embedding in an SQL statement.
- Specified by:
- objectToSQLString in interface LiteralType
- Overrides:
- objectToSQLString in interface BooleanType
- Parameters:
value
-dialect
-
- Returns:
- String the value, as it appears in a SQL query
public void set(PreparedStatement st, Object value, int index) throws SQLException
- Overrides:
- set in interface BooleanType
public Object stringToObject(String xml) throws Exception
- Specified by:
- stringToObject in interface IdentifierType
- Overrides:
- stringToObject in interface BooleanType