net.mlw.vlh.adapter.hibernate.util.setter
Class TimestampSetter

java.lang.Object
  extended bynet.mlw.vlh.adapter.hibernate.util.setter.AbstractSetter
      extended bynet.mlw.vlh.adapter.hibernate.util.setter.TimestampSetter
All Implemented Interfaces:
Setter

public class TimestampSetter
extends AbstractSetter

Version:
$Revision: 1.5 $ $Date: 2005/12/19 12:22:30 $
Author:
Matthew L. Wilson

Field Summary
static String DEFAULT_FORMAT
           
 
Constructor Summary
TimestampSetter()
           
 
Method Summary
 void set(net.sf.hibernate.Query query, String key, Object value)
          Set the object on the given query.
 void setFormat(String format)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_FORMAT

public static final String DEFAULT_FORMAT
See Also:
Constant Field Values
Constructor Detail

TimestampSetter

public TimestampSetter()
Method Detail

set

public void set(net.sf.hibernate.Query query,
                String key,
                Object value)
         throws net.sf.hibernate.HibernateException,
                ParseException
Description copied from interface: Setter
Set the object on the given query.

Parameters:
query - The Hiberante Query.
key - The name of the argument
value - The value to be set
Throws:
ParseException - If an error occurs.
net.sf.hibernate.HibernateException
See Also:
Setter.set(Query, String, Object)

setFormat

public void setFormat(String format)
Parameters:
format - The format to set.


Copyright © 2003-2006 mlavilson. All Rights Reserved.