Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

recoin.container
Class Query  view Query download Query.java

java.lang.Object
  extended byrecoin.group.ComponentSupportImpl
      extended byrecoin.container.Query
All Implemented Interfaces:
recoin.group.ComponentSupport, java.io.Serializable

public class Query
extends recoin.group.ComponentSupportImpl

A basic class representing a query with an optional cut-off value. It extends the simple class ComponentSupportImpl in order for a Query object to be passed inside a RetrievalContainer and processed by Component objects.

Version:
0.2.9

Field Summary
private  int cutOff
          The cut-off value of this Query.
 
Fields inherited from class recoin.group.ComponentSupportImpl
chainID, classname, description, id, name
 
Constructor Summary
Query()
          Creates a new Query.
Query(int cut)
          Creates a new Query with the specified cut-off.
 
Method Summary
 int getCutOff()
          Returns the cut-off value for this Query.
 void setCutOff(int c)
          Sets the cut-off value of this Query to the specified int.
 
Methods inherited from class recoin.group.ComponentSupportImpl
getChainID, getClassname, getDescription, getID, getName, setChainID, setClassname, setDescription, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cutOff

private int cutOff
The cut-off value of this Query. Default is 0 which implies 'no cut-off'.

Constructor Detail

Query

public Query()
Creates a new Query.


Query

public Query(int cut)
Creates a new Query with the specified cut-off.

Method Detail

getCutOff

public int getCutOff()
Returns the cut-off value for this Query.


setCutOff

public void setCutOff(int c)
Sets the cut-off value of this Query to the specified int.