org.hibernate.shards.query
Class SetTimeEvent

java.lang.Object
  extended by org.hibernate.shards.query.SetTimeEvent
All Implemented Interfaces:
QueryEvent

public class SetTimeEvent
extends Object
implements QueryEvent

Author:
Maulik Shah

Constructor Summary
SetTimeEvent(int position, Date val)
           
SetTimeEvent(String name, Date val)
           
 
Method Summary
 void onEvent(org.hibernate.Query query)
          Apply the event
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetTimeEvent

public SetTimeEvent(int position,
                    Date val)

SetTimeEvent

public SetTimeEvent(String name,
                    Date val)
Method Detail

onEvent

public void onEvent(org.hibernate.Query query)
Description copied from interface: QueryEvent
Apply the event

Specified by:
onEvent in interface QueryEvent
Parameters:
query - the Query to apply the event to