org.hibernate.type
Class CharacterArrayType
java.lang.Object
org.hibernate.type.AbstractType
org.hibernate.type.NullableType
org.hibernate.type.MutableType
org.hibernate.type.AbstractCharArrayType
org.hibernate.type.CharacterArrayType
- All Implemented Interfaces:
- Serializable, Type
public class CharacterArrayType
- extends AbstractCharArrayType
Bridge Character[] and VARCHAR
- Author:
- Emmanuel Bernard
- See Also:
- Serialized Form
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 |
CharacterArrayType
public CharacterArrayType()
toExternalFormat
protected Object toExternalFormat(char[] chars)
- Description copied from class:
AbstractCharArrayType
- Convert the char[] into the expected object type
- Specified by:
toExternalFormat
in class AbstractCharArrayType
toInternalFormat
protected char[] toInternalFormat(Object value)
- Description copied from class:
AbstractCharArrayType
- Convert the object into the internal char[] representation
- Specified by:
toInternalFormat
in class AbstractCharArrayType
getReturnedClass
public Class getReturnedClass()
- Description copied from interface:
Type
- The class returned by nullSafeGet() methods. This is used to
establish the class of an array of this type.
- Specified by:
getReturnedClass
in interface Type
- Specified by:
getReturnedClass
in class AbstractCharArrayType
- Returns:
- Class
getName
public String getName()
- Description copied from interface:
Type
- Returns the abbreviated name of the type.
- Returns:
- String the Hibernate type name