fr.ifremer.isisfish.types.hibernate
Class TimeStepType

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.TimeStepType
All Implemented Interfaces:
Serializable, org.hibernate.type.StringRepresentableType, org.hibernate.type.Type, org.hibernate.type.XmlRepresentableType

public class TimeStepType
extends org.hibernate.type.ImmutableType

DateType.java Created: 19 janv. 2006

Version:
$Revision: 3445 $ Mise a jour: $Date: 2011-07-15 15:12:45 +0200 (Fri, 15 Jul 2011) $ par : $Author: chatellier $
Author:
Arnaud Thimel
See Also:
Serialized Form

Constructor Summary
TimeStepType()
           
 
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

TimeStepType

public TimeStepType()
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 interface org.hibernate.type.StringRepresentableType
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 interface org.hibernate.type.StringRepresentableType
Specified by:
fromStringValue in class org.hibernate.type.NullableType
Throws:
org.hibernate.HibernateException

getReturnedClass

public Class getReturnedClass()

getName

public String getName()


Copyright © 1999-2012 CodeLutin. All Rights Reserved.