|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistentEnumItf
Immutable enumeration objects should implement this interface.
Method Summary | |
---|---|
java.lang.Object |
deepCopy(java.lang.Object value)
|
java.io.Serializable |
getEnumCode()
Gets the persistable enum code of this enum. |
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 value,
int index)
|
java.lang.Class |
returnedClass()
|
int[] |
sqlTypes()
|
Methods inherited from interface org.hibernate.usertype.UserType |
---|
assemble, disassemble, equals, hashCode, replace |
Method Detail |
---|
java.io.Serializable getEnumCode()
Gets the persistable enum code of this enum.
int[] sqlTypes()
sqlTypes
in interface org.hibernate.usertype.UserType
java.lang.Object deepCopy(java.lang.Object value) throws org.hibernate.HibernateException
deepCopy
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
boolean isMutable()
isMutable
in interface org.hibernate.usertype.UserType
java.lang.Class returnedClass()
returnedClass
in interface org.hibernate.usertype.UserType
java.lang.Object nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, java.lang.Object owner) throws org.hibernate.HibernateException, java.sql.SQLException
nullSafeGet
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
java.sql.SQLException
void nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index) throws org.hibernate.HibernateException, java.sql.SQLException
nullSafeSet
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
java.sql.SQLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |