org.jbpm.hibernate
Class ConverterType
java.lang.Object
org.hibernate.type.AbstractType
org.hibernate.type.NullableType
org.hibernate.type.ImmutableType
org.jbpm.hibernate.ConverterType
- All Implemented Interfaces:
- java.io.Serializable, org.hibernate.type.Type, org.hibernate.usertype.ParameterizedType
public class ConverterType
- extends org.hibernate.type.ImmutableType
- implements org.hibernate.usertype.ParameterizedType
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
fromStringValue(java.lang.String arg0)
|
java.lang.Object |
get(java.sql.ResultSet resultSet,
java.lang.String name)
|
java.lang.String |
getName()
|
java.lang.Class |
getReturnedClass()
|
void |
set(java.sql.PreparedStatement stmt,
java.lang.Object value,
int index)
|
void |
setParameterValues(java.util.Properties properties)
|
int |
sqlType()
|
java.lang.String |
toString(java.lang.Object arg0)
|
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 |
ConverterType
public ConverterType()
fromStringValue
public java.lang.Object fromStringValue(java.lang.String arg0)
throws org.hibernate.HibernateException
- Specified by:
fromStringValue
in class org.hibernate.type.NullableType
- Throws:
org.hibernate.HibernateException
get
public java.lang.Object get(java.sql.ResultSet resultSet,
java.lang.String name)
throws org.hibernate.HibernateException,
java.sql.SQLException
- Specified by:
get
in class org.hibernate.type.NullableType
- Throws:
org.hibernate.HibernateException
java.sql.SQLException
set
public void set(java.sql.PreparedStatement stmt,
java.lang.Object value,
int index)
throws org.hibernate.HibernateException,
java.sql.SQLException
- Specified by:
set
in class org.hibernate.type.NullableType
- Throws:
org.hibernate.HibernateException
java.sql.SQLException
sqlType
public int sqlType()
- Specified by:
sqlType
in class org.hibernate.type.NullableType
toString
public java.lang.String toString(java.lang.Object arg0)
throws org.hibernate.HibernateException
- Specified by:
toString
in class org.hibernate.type.NullableType
- Throws:
org.hibernate.HibernateException
getName
public java.lang.String getName()
- Specified by:
getName
in interface org.hibernate.type.Type
getReturnedClass
public java.lang.Class getReturnedClass()
- Specified by:
getReturnedClass
in interface org.hibernate.type.Type
setParameterValues
public void setParameterValues(java.util.Properties properties)
- Specified by:
setParameterValues
in interface org.hibernate.usertype.ParameterizedType