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

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

public class LongSetter
extends AbstractSetter

Sets a java.lang.Long on a Query. Conversion from a string is provided using Long.parseLong().

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

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

LongSetter

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