public class HttpStatusType extends Object implements org.hibernate.usertype.UserType
HttpStatus objects with their status code.HttpStatus.value| Constructor and Description |
|---|
HttpStatusType() |
| Modifier and Type | Method and Description |
|---|---|
Object |
assemble(Serializable cached,
Object owner) |
Object |
deepCopy(Object value) |
Serializable |
disassemble(Object value) |
boolean |
equals(Object x,
Object y) |
int |
hashCode(Object x) |
boolean |
isMutable() |
Object |
nullSafeGet(ResultSet rs,
String[] names,
org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object owner) |
void |
nullSafeSet(PreparedStatement st,
Object value,
int index,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
Object |
replace(Object original,
Object target,
Object owner) |
Class |
returnedClass() |
int[] |
sqlTypes() |
public int[] sqlTypes()
sqlTypes in interface org.hibernate.usertype.UserTypepublic Class returnedClass()
returnedClass in interface org.hibernate.usertype.UserTypepublic boolean equals(Object x, Object y)
equals in interface org.hibernate.usertype.UserTypepublic int hashCode(Object x)
hashCode in interface org.hibernate.usertype.UserTypepublic Object nullSafeGet(ResultSet rs, String[] names, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) throws SQLException
nullSafeGet in interface org.hibernate.usertype.UserTypeSQLExceptionpublic void nullSafeSet(PreparedStatement st, Object value, int index, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws SQLException
nullSafeSet in interface org.hibernate.usertype.UserTypeSQLExceptionpublic Object deepCopy(Object value)
deepCopy in interface org.hibernate.usertype.UserTypepublic boolean isMutable()
isMutable in interface org.hibernate.usertype.UserTypepublic Serializable disassemble(Object value)
disassemble in interface org.hibernate.usertype.UserTypepublic Object assemble(Serializable cached, Object owner)
assemble in interface org.hibernate.usertype.UserTypeCopyright © 2020. All rights reserved.