|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.type.AbstractType org.hibernate.type.NullableType org.hibernate.type.ImmutableType org.hibernate.type.PrimitiveType org.hibernate.type.BooleanType org.hibernate.type.CharBooleanType com.atlassian.crowd.util.persistence.hibernate.BooleanStringUserType
public class BooleanStringUserType
Boolean implementation that allows us to store Booleans as "true" and "false"
Constructor Summary | |
---|---|
BooleanStringUserType()
|
Method Summary | |
---|---|
protected java.lang.String |
getFalseString()
|
protected java.lang.String |
getTrueString()
|
int |
sqlType()
|
Methods inherited from class org.hibernate.type.CharBooleanType |
---|
get, objectToSQLString, set, stringToObject |
Methods inherited from class org.hibernate.type.BooleanType |
---|
fromStringValue, getDefaultValue, getName, getPrimitiveClass, getReturnedClass |
Methods inherited from class org.hibernate.type.PrimitiveType |
---|
toString |
Methods inherited from class org.hibernate.type.ImmutableType |
---|
deepCopy, isMutable, replace |
Methods inherited from class org.hibernate.type.NullableType |
---|
fromXMLNode, fromXMLString, getColumnSpan, isDirty, isEqual, isEqual, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, nullSafeSet, nullSafeToString, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString, toXMLString |
Methods inherited from class org.hibernate.type.AbstractType |
---|
assemble, beforeAssemble, compare, disassemble, getHashCode, getHashCode, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isEntityType, isEqual, isModified, isSame, isXMLElement, replace, replaceNode, resolve, semiResolve |
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.Type |
---|
assemble, beforeAssemble, compare, deepCopy, disassemble, fromXMLNode, getColumnSpan, getHashCode, getHashCode, 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 |
Constructor Detail |
---|
public BooleanStringUserType()
Method Detail |
---|
protected java.lang.String getTrueString()
getTrueString
in class org.hibernate.type.CharBooleanType
protected java.lang.String getFalseString()
getFalseString
in class org.hibernate.type.CharBooleanType
public int sqlType()
sqlType
in class org.hibernate.type.CharBooleanType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |