|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.type.AbstractStandardBasicType<T>
org.hibernate.type.AbstractSingleColumnStandardBasicType<java.lang.Boolean>
org.openxava.types.SiNoType
public class SiNoType
Stores a boolean value as 'S' or 'N' in database.
| Field Summary | |
|---|---|
static org.hibernate.type.YesNoType |
INSTANCE
|
| Constructor Summary | |
|---|---|
SiNoType()
|
|
| Method Summary | |
|---|---|
java.io.Serializable |
getDefaultValue()
|
java.lang.String |
getName()
|
java.lang.Class |
getPrimitiveClass()
|
java.lang.String |
objectToSQLString(java.lang.Boolean value,
org.hibernate.dialect.Dialect dialect)
|
java.lang.Boolean |
stringToObject(java.lang.String xml)
|
| Methods inherited from class org.hibernate.type.AbstractSingleColumnStandardBasicType |
|---|
get, nullSafeGet, nullSafeSet, nullSafeSet, set, sqlType |
| Methods inherited from class org.hibernate.type.AbstractStandardBasicType |
|---|
assemble, beforeAssemble, compare, deepCopy, deepCopy, disassemble, fromString, fromStringValue, fromXMLNode, fromXMLString, get, getColumnSpan, getHashCode, getHashCode, getHashCode, getJavaTypeDescriptor, getMutabilityPlan, getRegistrationKeys, getReplacement, getReturnedClass, getSemiResolvedType, getSqlTypeDescriptor, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isDirty, isEntityType, isEqual, isEqual, isEqual, isModified, isMutable, isSame, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, registerUnderJavaType, replace, replace, resolve, semiResolve, set, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString, toString, toXMLString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.hibernate.type.PrimitiveType |
|---|
toString |
| Methods inherited from interface org.hibernate.type.Type |
|---|
assemble, beforeAssemble, compare, deepCopy, disassemble, fromXMLNode, getColumnSpan, getHashCode, getHashCode, getReturnedClass, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, replace, replace, resolve, semiResolve, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString |
| Methods inherited from interface org.hibernate.type.SingleColumnType |
|---|
fromStringValue, get, nullSafeGet, set, toString |
| Field Detail |
|---|
public static final org.hibernate.type.YesNoType INSTANCE
| Constructor Detail |
|---|
public SiNoType()
| Method Detail |
|---|
public java.lang.String getName()
getName in interface org.hibernate.type.Typepublic java.lang.Class getPrimitiveClass()
getPrimitiveClass in interface org.hibernate.type.PrimitiveType<java.lang.Boolean>
public java.lang.Boolean stringToObject(java.lang.String xml)
throws java.lang.Exception
stringToObject in interface org.hibernate.type.IdentifierType<java.lang.Boolean>java.lang.Exceptionpublic java.io.Serializable getDefaultValue()
getDefaultValue in interface org.hibernate.type.PrimitiveType<java.lang.Boolean>
public java.lang.String objectToSQLString(java.lang.Boolean value,
org.hibernate.dialect.Dialect dialect)
throws java.lang.Exception
objectToSQLString in interface org.hibernate.type.LiteralType<java.lang.Boolean>java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||