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

java.lang.Object
  extended by org.apache.oodt.cas.filemgr.structs.QueryCriteria
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
BooleanQueryCriteria, FreeTextQueryCriteria, RangeQueryCriteria, TermQueryCriteria

public abstract class QueryCriteria
extends Object
implements Cloneable

Version:
$Revision: 11462 $

This is an abstract base class for a number of different criteria searches such as term search, range search and free text search. Subclasses are added to Query instances in order to search the Catalog.

Author:
woollard, bfoster

Constructor Summary
QueryCriteria()
           
 
Method Summary
abstract  String getElementName()
          Abstract accessor method for the Element name to search on.
abstract  void setElementName(String elementName)
          Abstract mutator method for the Elment name to search on.
abstract  String toString()
          Abstract method for converting the QueryCriteria to a human-parsable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryCriteria

public QueryCriteria()
Method Detail

getElementName

public abstract String getElementName()
Abstract accessor method for the Element name to search on.

Returns:
The ElementName in the form of a String.

setElementName

public abstract void setElementName(String elementName)
Abstract mutator method for the Elment name to search on.

Parameters:
Element - Name

toString

public abstract String toString()
Abstract method for converting the QueryCriteria to a human-parsable String.

Overrides:
toString in class Object


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