org.weblab_project.core.model.content
Class BinaryContent

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

public class BinaryContent
extends Content
implements java.io.Serializable

Binary content simply contains part of a binary large content. Offset and limit are defined, for this specialisation, in a number of bytes. Data Exchange Model for WebLab platform provided by EADS Content package - Version 1.1 - 2009/05

Java class for binaryContent complex type.

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

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

See Also:
Serialized Form

Field Summary
protected  byte[] data
           
 
Fields inherited from class org.weblab_project.core.model.content.Content
limit, offset
 
Fields inherited from class org.weblab_project.core.model.Resource
annotation, descriptor, uri
 
Constructor Summary
BinaryContent()
           
 
Method Summary
 byte[] getData()
          Gets the value of the data property.
 void setData(byte[] value)
          Sets the value of the data property.
 
Methods inherited from class org.weblab_project.core.model.content.Content
getLimit, getOffset, setLimit, setOffset
 
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

data

protected byte[] data
Constructor Detail

BinaryContent

public BinaryContent()
Method Detail

getData

public byte[] getData()
Gets the value of the data property.

Returns:
possible object is byte[]

setData

public void setData(byte[] value)
Sets the value of the data property.

Parameters:
value - allowed object is byte[]


Copyright © 2004-2010. All Rights Reserved.