org.ow2.weblab.core.model
Class Audio

java.lang.Object
  extended by org.ow2.weblab.core.model.Resource
      extended by org.ow2.weblab.core.model.MediaUnit
          extended by org.ow2.weblab.core.model.Audio
All Implemented Interfaces:
java.io.Serializable

public class Audio
extends MediaUnit
implements java.io.Serializable

An audio unit describes audio content out of media document. It does not have any particular attribute but only allow describing the structure. As a resource it can be annotated to describe the audio content. It can also be described using low level descriptors. The original content may be in content field or a reference using an annotation should be made to the content. Data Exchange Model for WebLab platform provided by CASSIDIAN - Version 1.2 - 2010/08

Java class for Audio complex type.

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

 <complexType name="Audio">
   <complexContent>
     <extension base="{http://weblab.ow2.org/core/1.2/model#}MediaUnit">
       <sequence>
         <element name="content" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  byte[] content
           
 
Fields inherited from class org.ow2.weblab.core.model.MediaUnit
segment
 
Fields inherited from class org.ow2.weblab.core.model.Resource
annotation, descriptor, uri
 
Constructor Summary
Audio()
           
 
Method Summary
 byte[] getContent()
          Gets the value of the content property.
 boolean isSetContent()
           
 void setContent(byte[] value)
          Sets the value of the content property.
 
Methods inherited from class org.ow2.weblab.core.model.MediaUnit
getSegment, isSetSegment, unsetSegment
 
Methods inherited from class org.ow2.weblab.core.model.Resource
getAnnotation, getDescriptor, getUri, isSetAnnotation, isSetDescriptor, setUri, unsetAnnotation, unsetDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected byte[] content
Constructor Detail

Audio

public Audio()
Method Detail

getContent

public byte[] getContent()
Gets the value of the content property.

Returns:
possible object is byte[]

setContent

public void setContent(byte[] value)
Sets the value of the content property.

Parameters:
value - allowed object is byte[]

isSetContent

public boolean isSetContent()


Copyright © 2004-2010. All Rights Reserved.