public class StatusUserType
extends org.hibernate.type.EnumType
Constructor and Description |
---|
StatusUserType()
A public default constructor is required by Hibernate.
|
Modifier and Type | Method and Description |
---|---|
int |
hashCode(Object x) |
Object |
nullSafeGet(ResultSet rs,
String[] names,
Object owner) |
void |
nullSafeSet(PreparedStatement st,
Object value,
int index) |
Class<OspfElement.Status> |
returnedClass() |
void |
setParameterValues(Properties parameters) |
int[] |
sqlTypes() |
public StatusUserType()
public int hashCode(Object x) throws org.hibernate.HibernateException
hashCode
in interface org.hibernate.usertype.UserType
hashCode
in class org.hibernate.type.EnumType
org.hibernate.HibernateException
public Object nullSafeGet(ResultSet rs, String[] names, Object owner) throws org.hibernate.HibernateException, SQLException
nullSafeGet
in interface org.hibernate.usertype.UserType
nullSafeGet
in class org.hibernate.type.EnumType
org.hibernate.HibernateException
SQLException
public void nullSafeSet(PreparedStatement st, Object value, int index) throws org.hibernate.HibernateException, SQLException
nullSafeSet
in interface org.hibernate.usertype.UserType
nullSafeSet
in class org.hibernate.type.EnumType
org.hibernate.HibernateException
SQLException
public Class<OspfElement.Status> returnedClass()
returnedClass
in interface org.hibernate.usertype.UserType
returnedClass
in class org.hibernate.type.EnumType
public int[] sqlTypes()
sqlTypes
in interface org.hibernate.usertype.UserType
sqlTypes
in class org.hibernate.type.EnumType
public void setParameterValues(Properties parameters)
setParameterValues
in interface org.hibernate.usertype.ParameterizedType
setParameterValues
in class org.hibernate.type.EnumType
Copyright © 2018. All rights reserved.