org.jbpm.hibernate
Class ExecutionType

java.lang.Object
  extended by org.jbpm.hibernate.ExecutionType
All Implemented Interfaces:
org.hibernate.usertype.ParameterizedType, org.hibernate.usertype.UserType

public class ExecutionType
extends java.lang.Object
implements org.hibernate.usertype.UserType, org.hibernate.usertype.ParameterizedType


Field Summary
protected  ProcessDefinitionImpl processDefinition
           
protected  java.lang.String processResource
           
 
Constructor Summary
ExecutionType()
           
 
Method Summary
 java.lang.Object assemble(java.io.Serializable arg0, java.lang.Object arg1)
           
 java.lang.Object deepCopy(java.lang.Object object)
           
 java.io.Serializable disassemble(java.lang.Object arg0)
           
 boolean equals(java.lang.Object arg0, java.lang.Object arg1)
           
 int hashCode(java.lang.Object object)
           
 boolean isMutable()
           
 java.lang.Object nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, java.lang.Object owner)
           
 void nullSafeSet(java.sql.PreparedStatement st, java.lang.Object owner, int index)
           
 java.lang.Object replace(java.lang.Object arg0, java.lang.Object arg1, java.lang.Object arg2)
           
 java.lang.Class<?> returnedClass()
           
 void setParameterValues(java.util.Properties properties)
           
 int[] sqlTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

processResource

protected java.lang.String processResource

processDefinition

protected ProcessDefinitionImpl processDefinition
Constructor Detail

ExecutionType

public ExecutionType()
Method Detail

setParameterValues

public void setParameterValues(java.util.Properties properties)
Specified by:
setParameterValues in interface org.hibernate.usertype.ParameterizedType

sqlTypes

public int[] sqlTypes()
Specified by:
sqlTypes in interface org.hibernate.usertype.UserType

nullSafeGet

public java.lang.Object nullSafeGet(java.sql.ResultSet rs,
                                    java.lang.String[] names,
                                    java.lang.Object owner)
                             throws org.hibernate.HibernateException,
                                    java.sql.SQLException
Specified by:
nullSafeGet in interface org.hibernate.usertype.UserType
Throws:
org.hibernate.HibernateException
java.sql.SQLException

nullSafeSet

public void nullSafeSet(java.sql.PreparedStatement st,
                        java.lang.Object owner,
                        int index)
                 throws org.hibernate.HibernateException,
                        java.sql.SQLException
Specified by:
nullSafeSet in interface org.hibernate.usertype.UserType
Throws:
org.hibernate.HibernateException
java.sql.SQLException

deepCopy

public java.lang.Object deepCopy(java.lang.Object object)
                          throws org.hibernate.HibernateException
Specified by:
deepCopy in interface org.hibernate.usertype.UserType
Throws:
org.hibernate.HibernateException

equals

public boolean equals(java.lang.Object arg0,
                      java.lang.Object arg1)
               throws org.hibernate.HibernateException
Specified by:
equals in interface org.hibernate.usertype.UserType
Throws:
org.hibernate.HibernateException

hashCode

public int hashCode(java.lang.Object object)
             throws org.hibernate.HibernateException
Specified by:
hashCode in interface org.hibernate.usertype.UserType
Throws:
org.hibernate.HibernateException

isMutable

public boolean isMutable()
Specified by:
isMutable in interface org.hibernate.usertype.UserType

returnedClass

public java.lang.Class<?> returnedClass()
Specified by:
returnedClass in interface org.hibernate.usertype.UserType

replace

public java.lang.Object replace(java.lang.Object arg0,
                                java.lang.Object arg1,
                                java.lang.Object arg2)
                         throws org.hibernate.HibernateException
Specified by:
replace in interface org.hibernate.usertype.UserType
Throws:
org.hibernate.HibernateException

assemble

public java.lang.Object assemble(java.io.Serializable arg0,
                                 java.lang.Object arg1)
                          throws org.hibernate.HibernateException
Specified by:
assemble in interface org.hibernate.usertype.UserType
Throws:
org.hibernate.HibernateException

disassemble

public java.io.Serializable disassemble(java.lang.Object arg0)
                                 throws org.hibernate.HibernateException
Specified by:
disassemble in interface org.hibernate.usertype.UserType
Throws:
org.hibernate.HibernateException