ome.tools.hibernate
Class ListAsSQLArrayUserType.DATE

java.lang.Object
  extended by ome.tools.hibernate.ListAsSQLArrayUserType<Date>
      extended by ome.tools.hibernate.ListAsSQLArrayUserType.DATE
All Implemented Interfaces:
org.hibernate.usertype.UserType
Enclosing class:
ListAsSQLArrayUserType<T>

public static class ListAsSQLArrayUserType.DATE
extends ListAsSQLArrayUserType<Date>

To use, define : hibernate.property type="ome.tools.hibernate.ListAsSQLArrayUserType$DATE" hibernate.column name="fieldName" sql-type="timestamp[]"


Nested Class Summary
 
Nested classes/interfaces inherited from class ome.tools.hibernate.ListAsSQLArrayUserType
ListAsSQLArrayUserType.BOOLEAN, ListAsSQLArrayUserType.DATE, ListAsSQLArrayUserType.DOUBLE, ListAsSQLArrayUserType.ENUM<E extends Enum<E>>, ListAsSQLArrayUserType.FLOAT, ListAsSQLArrayUserType.INTEGER, ListAsSQLArrayUserType.STRING, ListAsSQLArrayUserType.STRING2
 
Constructor Summary
ListAsSQLArrayUserType.DATE()
           
 
Method Summary
protected  Array getDataAsArray(Object value)
           
protected  List<Date> getDataFromArray(Object array)
           
 
Methods inherited from class ome.tools.hibernate.ListAsSQLArrayUserType
assemble, deepCopy, disassemble, equals, hashCode, isMutable, nullSafeGet, nullSafeSet, replace, returnedClass, sqlTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListAsSQLArrayUserType.DATE

public ListAsSQLArrayUserType.DATE()
Method Detail

getDataAsArray

protected Array getDataAsArray(Object value)
Specified by:
getDataAsArray in class ListAsSQLArrayUserType<Date>

getDataFromArray

protected List<Date> getDataFromArray(Object array)
Specified by:
getDataFromArray in class ListAsSQLArrayUserType<Date>


OmeroJava Api

Version: Beta4.2.1-r8614-Beta4.2-b41

Copyright © 2009 The University of Dundee. All Rights Reserved.