org.jbpm.db.hibernate
Class AccessType

java.lang.Object
  extended by org.hibernate.type.AbstractType
      extended by org.hibernate.type.NullableType
          extended by org.hibernate.type.ImmutableType
              extended by org.jbpm.db.hibernate.AccessType
All Implemented Interfaces:
Serializable, org.hibernate.type.DiscriminatorType, org.hibernate.type.IdentifierType, org.hibernate.type.LiteralType, org.hibernate.type.Type

public class AccessType
extends org.hibernate.type.ImmutableType
implements org.hibernate.type.DiscriminatorType

See Also:
Serialized Form

Constructor Summary
AccessType()
           
 
Method Summary
 Object fromStringValue(String xml)
           
 Object get(ResultSet rs, String name)
           
 String getName()
           
 Class getReturnedClass()
           
 String objectToSQLString(Object value, org.hibernate.dialect.Dialect dialect)
           
 void set(PreparedStatement st, Object value, int index)
           
 int sqlType()
           
 Object stringToObject(String xml)
           
 String toString(Object value)
           
 
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

AccessType

public AccessType()
Method Detail

get

public Object get(ResultSet rs,
                  String name)
           throws SQLException
Specified by:
get in class org.hibernate.type.NullableType
Throws:
SQLException

getReturnedClass

public Class getReturnedClass()
Specified by:
getReturnedClass in interface org.hibernate.type.Type

set

public void set(PreparedStatement st,
                Object value,
                int index)
         throws SQLException
Specified by:
set in class org.hibernate.type.NullableType
Throws:
SQLException

sqlType

public int sqlType()
Specified by:
sqlType in class org.hibernate.type.NullableType

getName

public String getName()
Specified by:
getName in interface org.hibernate.type.Type

objectToSQLString

public String objectToSQLString(Object value,
                                org.hibernate.dialect.Dialect dialect)
                         throws Exception
Specified by:
objectToSQLString in interface org.hibernate.type.LiteralType
Throws:
Exception

stringToObject

public Object stringToObject(String xml)
                      throws Exception
Specified by:
stringToObject in interface org.hibernate.type.IdentifierType
Throws:
Exception

toString

public String toString(Object value)
Specified by:
toString in class org.hibernate.type.NullableType

fromStringValue

public Object fromStringValue(String xml)
Specified by:
fromStringValue in class org.hibernate.type.NullableType


Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.