java.lang.Object
recoin.group.ComponentSupportImpl
recoin.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. |
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cutOff
private int cutOff
- The cut-off value of this Query. Default is 0 which implies 'no cut-off'.
Query
public Query()
- Creates a new Query.
Query
public Query(int cut)
- Creates a new Query with the specified cut-off.
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.