dd.api
Class DDQueryResultMatch

java.lang.Object
  |
  +--dd.api.DDQueryResultMatch
All Implemented Interfaces:
DDQueryResult

public class DDQueryResultMatch
extends Object
implements DDQueryResult

A result indicating that the given DD tag (and possibly others) satisfy the given query.

Version:
$Id: DDQueryResultMatch.java,v 1.2 2004/04/06 07:12:08 hweather Exp $
Author:
Sean C. Rhea
See Also:
DDQuery, DDQueryState, DDQueryResult, DDQueryResultNoMatch, DDLocateMsg, DDLocateFailure

Constructor Summary
DDQueryResultMatch(SecureHash[] matches, boolean stop)
          Constructor: Creates a new DDQueryResultMatch.
 
Method Summary
 SecureHash[] matches()
          A list of object pointers to follow.
 boolean stop()
          Whether the location operation should stop or continue up the tree toward the root.
 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

DDQueryResultMatch

public DDQueryResultMatch(SecureHash[] matches,
                          boolean stop)
Constructor: Creates a new DDQueryResultMatch.

Parameters:
matches - List of object pointers to follow.
stop - Whether the location operation should stop or continue up the tree toward the root.
Method Detail

matches

public SecureHash[] matches()
A list of object pointers to follow.

Returns:
A list of object pointers to follow.

stop

public boolean stop()
Whether the location operation should stop or continue up the tree toward the root.

Returns:
Whether the location operation should stop or continue up the tree toward the root.

toString

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

Overrides:
toString in class Object