org.apache.oodt.cas.filemgr.structs
Class Query

java.lang.Object
  extended by org.apache.oodt.cas.filemgr.structs.Query
Direct Known Subclasses:
ComplexQuery

public class Query
extends Object

Version:
$Revision$

A Query is a List of QueryCriteria.

Author:
mattmann, bfoster

Constructor Summary
Query()
           Default Constructor
Query(List<QueryCriteria> criteria)
           
 
Method Summary
 void addCriterion(QueryCriteria qc)
           
 List<QueryCriteria> getCriteria()
           
 void setCriteria(List<QueryCriteria> criteria)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Query

public Query()

Default Constructor

.


Query

public Query(List<QueryCriteria> criteria)
Parameters:
criteria -
Method Detail

getCriteria

public List<QueryCriteria> getCriteria()
Returns:
Returns the criteria.

setCriteria

public void setCriteria(List<QueryCriteria> criteria)
Parameters:
criteria - The criteria to set.

addCriterion

public void addCriterion(QueryCriteria qc)

toString

public String toString()
Overrides:
toString in class Object
Returns:
A String representation of this Query.


Copyright © 1999-2013
Apache OODT. All Rights Reserved.