net.mlw.vlh.adapter.hibernate3.util.setter
Class DoubleSetter

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

public class DoubleSetter
extends AbstractSetter

Sets a Double on a Query. Conversion from a string is provided using Double.parseDouble().

Version:
$Revision: 1.3 $ $Date: 2005/12/19 12:22:26 $
Author:
Matthew L. Wilson

Constructor Summary
DoubleSetter()
           
 
Method Summary
 void set(org.hibernate.Query query, String key, Object value)
          Set the object on the given query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleSetter

public DoubleSetter()
Method Detail

set

public void set(org.hibernate.Query query,
                String key,
                Object value)
         throws org.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.
org.hibernate.HibernateException
See Also:
Setter.set(Query, String, Object)


Copyright © 2003-2006 mlavilson. All Rights Reserved.