org.weblab_project.services.searcher.types
Class SearchArgs

java.lang.Object
  extended by org.weblab_project.services.searcher.types.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://weblab-project.org/core/model/user}usageContext" minOccurs="0"/>
         <element name="query" type="{http://weblab-project.org/core/model/query}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  UsageContext 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.
 UsageContext getUsageContext()
          Gets the value of the usageContext property.
 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(UsageContext 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 UsageContext 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 UsageContext getUsageContext()
Gets the value of the usageContext property.

Returns:
possible object is UsageContext

setUsageContext

public void setUsageContext(UsageContext value)
Sets the value of the usageContext property.

Parameters:
value - allowed object is UsageContext

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

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


Copyright © 2004-2010. All Rights Reserved.