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

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

public class IntegerSetter
extends AbstractSetter

Sets a Integer on a Query. Conversion from a string is provided using Integer.parseInt().

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

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

IntegerSetter

public IntegerSetter()
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.