com.atlassian.bamboo.bandana
Class DataForXStreamUserType

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

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

CompositeUserType for accessing DataForXStream with fields DataForXStream.className and DataForXStream.serializedData


Constructor Summary
DataForXStreamUserType()
           
 
Method Summary
 java.lang.Object assemble(java.io.Serializable serializable, net.sf.hibernate.engine.SessionImplementor sessionImplementor, java.lang.Object object)
           
 java.lang.Object deepCopy(java.lang.Object object)
           
 java.io.Serializable disassemble(java.lang.Object object, net.sf.hibernate.engine.SessionImplementor sessionImplementor)
           
 boolean equals(java.lang.Object object, java.lang.Object object1)
           
 java.lang.String[] getPropertyNames()
           
 net.sf.hibernate.type.Type[] getPropertyTypes()
           
 java.lang.Object getPropertyValue(java.lang.Object object, int i)
           
 boolean isMutable()
           
 java.lang.Object nullSafeGet(java.sql.ResultSet resultSet, java.lang.String[] names, net.sf.hibernate.engine.SessionImplementor sessionImplementor, java.lang.Object object)
           
 void nullSafeSet(java.sql.PreparedStatement preparedStatement, java.lang.Object object, int i, net.sf.hibernate.engine.SessionImplementor sessionImplementor)
           
 java.lang.Class<DataForXStream> returnedClass()
           
 void setPropertyValue(java.lang.Object object, int i, java.lang.Object object1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataForXStreamUserType

public DataForXStreamUserType()
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

returnedClass

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

getPropertyValue

public java.lang.Object getPropertyValue(java.lang.Object object,
                                         int i)
                                  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 object,
                             int i,
                             java.lang.Object object1)
                      throws net.sf.hibernate.HibernateException
Specified by:
setPropertyValue in interface net.sf.hibernate.CompositeUserType
Throws:
net.sf.hibernate.HibernateException

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.CompositeUserType
Throws:
net.sf.hibernate.HibernateException

nullSafeGet

@Nullable
public java.lang.Object nullSafeGet(java.sql.ResultSet resultSet,
                                             java.lang.String[] names,
                                             net.sf.hibernate.engine.SessionImplementor sessionImplementor,
                                             java.lang.Object object)
                             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 preparedStatement,
                        java.lang.Object object,
                        int i,
                        net.sf.hibernate.engine.SessionImplementor sessionImplementor)
                 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

deepCopy

public java.lang.Object deepCopy(java.lang.Object object)
                          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

disassemble

public java.io.Serializable disassemble(java.lang.Object object,
                                        net.sf.hibernate.engine.SessionImplementor sessionImplementor)
                                 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 serializable,
                                 net.sf.hibernate.engine.SessionImplementor sessionImplementor,
                                 java.lang.Object object)
                          throws net.sf.hibernate.HibernateException
Specified by:
assemble in interface net.sf.hibernate.CompositeUserType
Throws:
net.sf.hibernate.HibernateException


Copyright © 2011 Atlassian. All Rights Reserved.