com.atlassian.bamboo.plan
Class PlanResultKeyCompositeUserType

java.lang.Object
  extended by com.atlassian.bamboo.plan.PlanResultKeyCompositeUserType
All Implemented Interfaces:
net.sf.hibernate.CompositeUserType

public class PlanResultKeyCompositeUserType
extends java.lang.Object
implements net.sf.hibernate.CompositeUserType


Constructor Summary
PlanResultKeyCompositeUserType()
           
 
Method Summary
 java.lang.Object assemble(java.io.Serializable cached, net.sf.hibernate.engine.SessionImplementor session, java.lang.Object owner)
           
 java.lang.Object deepCopy(java.lang.Object value)
           
 java.io.Serializable disassemble(java.lang.Object value, net.sf.hibernate.engine.SessionImplementor session)
           
 boolean equals(java.lang.Object x, java.lang.Object y)
           
static net.sf.hibernate.type.Type getHibernateType()
           
 java.lang.String[] getPropertyNames()
           
 net.sf.hibernate.type.Type[] getPropertyTypes()
           
 java.lang.Object getPropertyValue(java.lang.Object component, int property)
           
 boolean isMutable()
           
 java.lang.Object nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, net.sf.hibernate.engine.SessionImplementor session, java.lang.Object owner)
           
 void nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, net.sf.hibernate.engine.SessionImplementor session)
           
 java.lang.Class returnedClass()
           
 void setPropertyValue(java.lang.Object component, int property, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlanResultKeyCompositeUserType

public PlanResultKeyCompositeUserType()
Method Detail

getPropertyNames

public java.lang.String[] getPropertyNames()
Specified by:
getPropertyNames in interface net.sf.hibernate.CompositeUserType

getPropertyTypes

public net.sf.hibernate.type.Type[] getPropertyTypes()
Specified by:
getPropertyTypes in interface net.sf.hibernate.CompositeUserType

getPropertyValue

public java.lang.Object getPropertyValue(java.lang.Object component,
                                         int property)
                                  throws net.sf.hibernate.HibernateException
Specified by:
getPropertyValue in interface net.sf.hibernate.CompositeUserType
Throws:
net.sf.hibernate.HibernateException

setPropertyValue

public void setPropertyValue(java.lang.Object component,
                             int property,
                             java.lang.Object value)
                      throws net.sf.hibernate.HibernateException
Specified by:
setPropertyValue in interface net.sf.hibernate.CompositeUserType
Throws:
net.sf.hibernate.HibernateException

returnedClass

public java.lang.Class returnedClass()
Specified by:
returnedClass in interface net.sf.hibernate.CompositeUserType

nullSafeGet

public java.lang.Object nullSafeGet(java.sql.ResultSet rs,
                                    java.lang.String[] names,
                                    net.sf.hibernate.engine.SessionImplementor session,
                                    java.lang.Object owner)
                             throws net.sf.hibernate.HibernateException,
                                    java.sql.SQLException
Specified by:
nullSafeGet in interface net.sf.hibernate.CompositeUserType
Throws:
net.sf.hibernate.HibernateException
java.sql.SQLException

nullSafeSet

public void nullSafeSet(java.sql.PreparedStatement st,
                        java.lang.Object value,
                        int index,
                        net.sf.hibernate.engine.SessionImplementor session)
                 throws net.sf.hibernate.HibernateException,
                        java.sql.SQLException
Specified by:
nullSafeSet in interface net.sf.hibernate.CompositeUserType
Throws:
net.sf.hibernate.HibernateException
java.sql.SQLException

disassemble

public java.io.Serializable disassemble(java.lang.Object value,
                                        net.sf.hibernate.engine.SessionImplementor session)
                                 throws net.sf.hibernate.HibernateException
Specified by:
disassemble in interface net.sf.hibernate.CompositeUserType
Throws:
net.sf.hibernate.HibernateException

assemble

public java.lang.Object assemble(java.io.Serializable cached,
                                 net.sf.hibernate.engine.SessionImplementor session,
                                 java.lang.Object owner)
                          throws net.sf.hibernate.HibernateException
Specified by:
assemble in interface net.sf.hibernate.CompositeUserType
Throws:
net.sf.hibernate.HibernateException

equals

public boolean equals(java.lang.Object x,
                      java.lang.Object y)
               throws net.sf.hibernate.HibernateException
Specified by:
equals in interface net.sf.hibernate.CompositeUserType
Throws:
net.sf.hibernate.HibernateException

deepCopy

public java.lang.Object deepCopy(java.lang.Object value)
                          throws net.sf.hibernate.HibernateException
Specified by:
deepCopy in interface net.sf.hibernate.CompositeUserType
Throws:
net.sf.hibernate.HibernateException

isMutable

public boolean isMutable()
Specified by:
isMutable in interface net.sf.hibernate.CompositeUserType

getHibernateType

public static net.sf.hibernate.type.Type getHibernateType()
                                                   throws net.sf.hibernate.HibernateException
Throws:
net.sf.hibernate.HibernateException


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.