org.ow2.weblab.core.services.searcher
Class SearchArgs

java.lang.Object
  extended by org.ow2.weblab.core.services.searcher.SearchArgs
All Implemented Interfaces:
java.io.Serializable

public class SearchArgs
extends java.lang.Object
implements java.io.Serializable

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>
 

See Also:
Serialized Form

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

usageContext

protected java.lang.String usageContext

query

protected Query query

offset

protected java.lang.Integer offset

limit

protected java.lang.Integer limit
Constructor Detail

SearchArgs

public SearchArgs()
Method Detail

getUsageContext

public java.lang.String getUsageContext()
Gets the value of the usageContext property.

Returns:
possible object is String

setUsageContext

public void setUsageContext(java.lang.String value)
Sets the value of the usageContext property.

Parameters:
value - allowed object is String

isSetUsageContext

public boolean isSetUsageContext()

getQuery

public Query getQuery()
Gets the value of the query property.

Returns:
possible object is Query

setQuery

public void setQuery(Query value)
Sets the value of the query property.

Parameters:
value - allowed object is Query

getOffset

public java.lang.Integer getOffset()
Gets the value of the offset property.

Returns:
possible object is Integer

setOffset

public void setOffset(java.lang.Integer value)
Sets the value of the offset property.

Parameters:
value - allowed object is Integer

isSetOffset

public boolean isSetOffset()

getLimit

public java.lang.Integer getLimit()
Gets the value of the limit property.

Returns:
possible object is Integer

setLimit

public void setLimit(java.lang.Integer value)
Sets the value of the limit property.

Parameters:
value - allowed object is Integer

isSetLimit

public boolean isSetLimit()


Copyright © 2004-2010. All Rights Reserved.