Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » type » [javadoc | source]
org.hibernate.type
public class: EnumType [javadoc | source]
java.lang.Object
   org.hibernate.type.EnumType

All Implemented Interfaces:
    EnhancedUserType, Serializable, ParameterizedType

Enum type mapper Try and find the appropriate SQL type depending on column metadata
Field Summary
public static final  String ENUM     
public static final  String SCHEMA     
public static final  String CATALOG     
public static final  String TABLE     
public static final  String COLUMN     
public static final  String TYPE     
Method from org.hibernate.type.EnumType Summary:
assemble,   deepCopy,   disassemble,   equals,   fromXMLString,   hashCode,   isMutable,   nullSafeGet,   nullSafeSet,   objectToSQLString,   replace,   returnedClass,   setParameterValues,   sqlTypes,   toXMLString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.type.EnumType Detail:
 public Object assemble(Serializable cached,
    Object owner) throws HibernateException 
 public Object deepCopy(Object value) throws HibernateException 
 public Serializable disassemble(Object value) throws HibernateException 
 public boolean equals(Object x,
    Object y) throws HibernateException 
 public Object fromXMLString(String xmlValue) 
 public int hashCode(Object x) throws HibernateException 
 public boolean isMutable() 
 public Object nullSafeGet(ResultSet rs,
    String[] names,
    Object owner) throws HibernateException, SQLException 
 public  void nullSafeSet(PreparedStatement st,
    Object value,
    int index) throws HibernateException, SQLException 
 public String objectToSQLString(Object value) 
 public Object replace(Object original,
    Object target,
    Object owner) throws HibernateException 
 public Class returnedClass() 
 public  void setParameterValues(Properties parameters) 
 public int[] sqlTypes() 
 public String toXMLString(Object value)