tapestry.ptr.impl
Class TriggerTester.Query

java.lang.Object
  |
  +--tapestry.ptr.impl.TriggerTester.Query
All Implemented Interfaces:
QuickSerializable, TapestryQuery
Enclosing class:
TriggerTester

public static class TriggerTester.Query
extends Object
implements TapestryQuery

Query is a TapestryQuery used in a TapestryLocateMsg of type LocateMsg to locate generic objects.


Constructor Summary
TriggerTester.Query()
          Creates a new Query.
TriggerTester.Query(InputBuffer buffer)
          Constructs a Query from its serialized form.
 
Method Summary
 TapestryQueryResult query(SecureHash node_guid, SecureHash bp_guid, TapestryTag tag, TapestryQueryState state)
          Perform the query on the given backpointer and tag, possibly modifying the supplied state.
 void serialize(OutputBuffer buffer)
          Specified by ostore.util.QuickSerializable
 String toString()
          Specified by java.lang.Object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TriggerTester.Query

public TriggerTester.Query()
Creates a new Query.


TriggerTester.Query

public TriggerTester.Query(InputBuffer buffer)
                    throws QSException
Constructs a Query from its serialized form.

Parameters:
buffer - serialized form of object.
Method Detail

serialize

public void serialize(OutputBuffer buffer)
Specified by ostore.util.QuickSerializable

Specified by:
serialize in interface QuickSerializable

query

public TapestryQueryResult query(SecureHash node_guid,
                                 SecureHash bp_guid,
                                 TapestryTag tag,
                                 TapestryQueryState state)
Description copied from interface: TapestryQuery
Perform the query on the given backpointer and tag, possibly modifying the supplied state.

Specified by:
query in interface TapestryQuery
Parameters:
node_guid - the guid of the current node
bp_guid - the guid of the node to which the backpointer points
tag - the associated tag
state - the state, passed in and (possibly) modified
Returns:
the query result

toString

public String toString()
Specified by java.lang.Object

Overrides:
toString in class Object