fr.ifremer.isisfish.types.hibernate
Class DateType

java.lang.Object
  extended by org.hibernate.type.AbstractType
      extended by org.hibernate.type.NullableType
          extended by org.hibernate.type.ImmutableType
              extended by fr.ifremer.isisfish.types.hibernate.DateType
All Implemented Interfaces:
Serializable, org.hibernate.type.Type

public class DateType
extends org.hibernate.type.ImmutableType

See Also:
Serialized Form

Constructor Summary
DateType()
           
 
Method Summary
 Object fromStringValue(String xml)
           
 Object get(ResultSet rs, String name)
           
 String getName()
           
 Class getReturnedClass()
           
 void set(PreparedStatement st, Object value, int index)
           
 int sqlType()
           
 String toString(Object value)
           
 
Methods inherited from class org.hibernate.type.ImmutableType
deepCopy, isMutable, replace
 
Methods inherited from class org.hibernate.type.NullableType
fromXMLNode, fromXMLString, getColumnSpan, isDirty, isEqual, isEqual, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, nullSafeSet, nullSafeToString, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString, toXMLString
 
Methods inherited from class org.hibernate.type.AbstractType
assemble, beforeAssemble, compare, disassemble, getHashCode, getHashCode, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isEntityType, isEqual, isModified, isSame, isXMLElement, replace, replaceNode, resolve, semiResolve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateType

public DateType()
Method Detail

get

public Object get(ResultSet rs,
                  String name)
           throws org.hibernate.HibernateException,
                  SQLException
Specified by:
get in class org.hibernate.type.NullableType
Throws:
org.hibernate.HibernateException
SQLException

set

public void set(PreparedStatement st,
                Object value,
                int index)
         throws org.hibernate.HibernateException,
                SQLException
Specified by:
set in class org.hibernate.type.NullableType
Throws:
org.hibernate.HibernateException
SQLException

sqlType

public int sqlType()
Specified by:
sqlType in class org.hibernate.type.NullableType

toString

public String toString(Object value)
                throws org.hibernate.HibernateException
Specified by:
toString in class org.hibernate.type.NullableType
Throws:
org.hibernate.HibernateException

fromStringValue

public Object fromStringValue(String xml)
                       throws org.hibernate.HibernateException
Specified by:
fromStringValue in class org.hibernate.type.NullableType
Throws:
org.hibernate.HibernateException

getReturnedClass

public Class getReturnedClass()

getName

public String getName()


Copyright © 1999-2010 CodeLutin. All Rights Reserved.