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

java.lang.Object
  extended bynet.mlw.vlh.adapter.hibernate.util.setter.AbstractSetter
      extended bynet.mlw.vlh.adapter.hibernate.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.5 $ $Date: 2005/12/19 12:22:30 $
Author:
Matthew L. Wilson

Constructor Summary
DoubleSetter()
           
 
Method Summary
 void set(net.sf.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(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)


Copyright © 2003-2006 mlavilson. All Rights Reserved.