org.ow2.weblab.core.services.sourcereader
Class GetResourceArgs

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

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

Offset and Limit which defines the content of the returned ResourceCollection. An optional UsageContext may define the context of the method call.

Java class for getResourceArgs complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="getResourceArgs">
   <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="offset" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="limit" type="{http://www.w3.org/2001/XMLSchema}int"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  int limit
           
protected  int offset
           
protected  java.lang.String usageContext
           
 
Constructor Summary
GetResourceArgs()
           
 
Method Summary
 int getLimit()
          Gets the value of the limit property.
 int getOffset()
          Gets the value of the offset property.
 java.lang.String getUsageContext()
          Gets the value of the usageContext property.
 boolean isSetUsageContext()
           
 void setLimit(int value)
          Sets the value of the limit property.
 void setOffset(int value)
          Sets the value of the offset 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

offset

protected int offset

limit

protected int limit
Constructor Detail

GetResourceArgs

public GetResourceArgs()
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()

getOffset

public int getOffset()
Gets the value of the offset property.


setOffset

public void setOffset(int value)
Sets the value of the offset property.


getLimit

public int getLimit()
Gets the value of the limit property.


setLimit

public void setLimit(int value)
Sets the value of the limit property.



Copyright © 2004-2010. All Rights Reserved.