org.weblab_project.services.sourcereader.types
Class GetResourceArgs

java.lang.Object
  extended by org.weblab_project.services.sourcereader.types.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://weblab-project.org/core/model/user}usageContext" 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  UsageContext usageContext
           
 
Constructor Summary
GetResourceArgs()
           
 
Method Summary
 int getLimit()
          Gets the value of the limit property.
 int getOffset()
          Gets the value of the offset property.
 UsageContext getUsageContext()
          Gets the value of the usageContext property.
 void setLimit(int value)
          Sets the value of the limit property.
 void setOffset(int value)
          Sets the value of the offset 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

offset

protected int offset

limit

protected int limit
Constructor Detail

GetResourceArgs

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

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.