org.weblab_project.core.model.content
Class Content

java.lang.Object
  extended by org.weblab_project.core.model.Resource
      extended by org.weblab_project.core.model.content.Content
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BinaryContent, TextContent

public class Content
extends Resource
implements java.io.Serializable

Content is an abstract type which provides limit and offset (their unit are consistent together and described in the specialisations) for instantiable contents. Data Exchange Model for WebLab platform provided by EADS Content package - Version 1.1 - 2009/05

Java class for content complex type.

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

 <complexType name="content">
   <complexContent>
     <extension base="{http://weblab-project.org/core/model/}resource">
       <sequence>
         <element name="offset" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="limit" type="{http://www.w3.org/2001/XMLSchema}int"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  int limit
           
protected  int offset
           
 
Fields inherited from class org.weblab_project.core.model.Resource
annotation, descriptor, uri
 
Constructor Summary
Content()
           
 
Method Summary
 int getLimit()
          Gets the value of the limit property.
 int getOffset()
          Gets the value of the offset property.
 void setLimit(int value)
          Sets the value of the limit property.
 void setOffset(int value)
          Sets the value of the offset property.
 
Methods inherited from class org.weblab_project.core.model.Resource
getAnnotation, getDescriptor, getUri, setUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

offset

protected int offset

limit

protected int limit
Constructor Detail

Content

public Content()
Method Detail

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.