org.ow2.weblab.core.model
Class Video

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.Video
All Implemented Interfaces:
java.io.Serializable

public class Video
extends MediaUnit
implements java.io.Serializable

A video unit describes a dynamic visual content out of media document. As a resource it can be annotated to describe the content. It can also be described using low level descriptors. The original content may be in the content field or a reference using annotation should be made to the content. Data Exchange Model for WebLab platform provided by CASSIDIAN - Version 1.2 - 2010/08

Java class for Video complex type.

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

 <complexType name="Video">
   <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
Video()
           
 
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

Video

public Video()
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.