com.atlassian.bamboo.agent.elastic.server
Class ActiveInstanceAdjustmentTypeUserType

java.lang.Object
  extended by com.atlassian.bamboo.agent.elastic.server.ActiveInstanceAdjustmentTypeUserType
All Implemented Interfaces:
net.sf.hibernate.UserType

public class ActiveInstanceAdjustmentTypeUserType
extends java.lang.Object
implements net.sf.hibernate.UserType

Stores ActiveInstanceAdjustmentType in the database using the ActiveInstanceAdjustmentType.getDatabaseId()


Constructor Summary
ActiveInstanceAdjustmentTypeUserType()
           
 
Method Summary
 java.lang.Object deepCopy(java.lang.Object object)
           
 boolean equals(java.lang.Object object, java.lang.Object object1)
           
 boolean isMutable()
           
 java.lang.Object nullSafeGet(java.sql.ResultSet resultSet, java.lang.String[] names, java.lang.Object object)
           
 void nullSafeSet(java.sql.PreparedStatement preparedStatement, java.lang.Object object, int i)
           
 java.lang.Class returnedClass()
           
 int[] sqlTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActiveInstanceAdjustmentTypeUserType

public ActiveInstanceAdjustmentTypeUserType()
Method Detail

sqlTypes

public int[] sqlTypes()
Specified by:
sqlTypes in interface net.sf.hibernate.UserType

returnedClass

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

equals

public boolean equals(java.lang.Object object,
                      java.lang.Object object1)
               throws net.sf.hibernate.HibernateException
Specified by:
equals in interface net.sf.hibernate.UserType
Throws:
net.sf.hibernate.HibernateException

nullSafeGet

@Nullable
public java.lang.Object nullSafeGet(java.sql.ResultSet resultSet,
                                             java.lang.String[] names,
                                             java.lang.Object object)
                             throws net.sf.hibernate.HibernateException,
                                    java.sql.SQLException
Specified by:
nullSafeGet in interface net.sf.hibernate.UserType
Throws:
net.sf.hibernate.HibernateException
java.sql.SQLException

nullSafeSet

public void nullSafeSet(java.sql.PreparedStatement preparedStatement,
                        java.lang.Object object,
                        int i)
                 throws net.sf.hibernate.HibernateException,
                        java.sql.SQLException
Specified by:
nullSafeSet in interface net.sf.hibernate.UserType
Throws:
net.sf.hibernate.HibernateException
java.sql.SQLException

deepCopy

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

isMutable

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


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.