org.ow2.orchestra.pvm.internal.hibernate
Class ExecutionType

java.lang.Object
  extended by org.ow2.orchestra.pvm.internal.hibernate.ExecutionType
All Implemented Interfaces:
org.hibernate.usertype.ParameterizedType, org.hibernate.usertype.UserType

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


Field Summary
protected  ProcessDefinitionImpl processDefinition
           
protected  String processResource
           
 
Constructor Summary
ExecutionType()
           
 
Method Summary
 Object assemble(Serializable arg0, Object arg1)
           
 Object deepCopy(Object object)
           
 Serializable disassemble(Object arg0)
           
 boolean equals(Object arg0, Object arg1)
           
 int hashCode(Object object)
           
 boolean isMutable()
           
 Object nullSafeGet(ResultSet rs, String[] names, Object owner)
           
 void nullSafeSet(PreparedStatement st, Object owner, int index)
           
 Object replace(Object arg0, Object arg1, Object arg2)
           
 Class<?> returnedClass()
           
 void setParameterValues(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 String processResource

processDefinition

protected ProcessDefinitionImpl processDefinition
Constructor Detail

ExecutionType

public ExecutionType()
Method Detail

setParameterValues

public void setParameterValues(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 Object nullSafeGet(ResultSet rs,
                          String[] names,
                          Object owner)
                   throws SQLException
Specified by:
nullSafeGet in interface org.hibernate.usertype.UserType
Throws:
SQLException

nullSafeSet

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

deepCopy

public Object deepCopy(Object object)
Specified by:
deepCopy in interface org.hibernate.usertype.UserType

equals

public boolean equals(Object arg0,
                      Object arg1)
Specified by:
equals in interface org.hibernate.usertype.UserType

hashCode

public int hashCode(Object object)
Specified by:
hashCode in interface org.hibernate.usertype.UserType

isMutable

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

returnedClass

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

replace

public Object replace(Object arg0,
                      Object arg1,
                      Object arg2)
Specified by:
replace in interface org.hibernate.usertype.UserType

assemble

public Object assemble(Serializable arg0,
                       Object arg1)
Specified by:
assemble in interface org.hibernate.usertype.UserType

disassemble

public Serializable disassemble(Object arg0)
Specified by:
disassemble in interface org.hibernate.usertype.UserType


Copyright © 2011 OW2 Consortium. All Rights Reserved.