|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.weblab.core.services.searcher.SearchArgs
public class SearchArgs
Wrapper containing a query to search, and an optional context and two integers the offset and limit values. Note that's, when these parameters exist and the text of the query contains equivalent parameters in its syntax, the offset and limit values to be used are depending of the implementation.
Java class for searchArgs complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="searchArgs">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="usageContext" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="query" type="{http://weblab.ow2.org/core/1.2/model#}Query"/>
<element name="offset" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="limit" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected java.lang.Integer |
limit
|
protected java.lang.Integer |
offset
|
protected Query |
query
|
protected java.lang.String |
usageContext
|
| Constructor Summary | |
|---|---|
SearchArgs()
|
|
| Method Summary | |
|---|---|
java.lang.Integer |
getLimit()
Gets the value of the limit property. |
java.lang.Integer |
getOffset()
Gets the value of the offset property. |
Query |
getQuery()
Gets the value of the query property. |
java.lang.String |
getUsageContext()
Gets the value of the usageContext property. |
boolean |
isSetLimit()
|
boolean |
isSetOffset()
|
boolean |
isSetUsageContext()
|
void |
setLimit(java.lang.Integer value)
Sets the value of the limit property. |
void |
setOffset(java.lang.Integer value)
Sets the value of the offset property. |
void |
setQuery(Query value)
Sets the value of the query property. |
void |
setUsageContext(java.lang.String value)
Sets the value of the usageContext property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String usageContext
protected Query query
protected java.lang.Integer offset
protected java.lang.Integer limit
| Constructor Detail |
|---|
public SearchArgs()
| Method Detail |
|---|
public java.lang.String getUsageContext()
Stringpublic void setUsageContext(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetUsageContext()
public Query getQuery()
Querypublic void setQuery(Query value)
value - allowed object is
Querypublic java.lang.Integer getOffset()
Integerpublic void setOffset(java.lang.Integer value)
value - allowed object is
Integerpublic boolean isSetOffset()
public java.lang.Integer getLimit()
Integerpublic void setLimit(java.lang.Integer value)
value - allowed object is
Integerpublic boolean isSetLimit()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||