org.ow2.weblab.core.model
Class Document

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

public class Document
extends MediaUnit
implements java.io.Serializable

A document is assumed to be a composed unit which handle the references of all the unit which have been build on it through the multiple processes. As a resource, a document could be annotated to provide, for example, meta-information on the original document source, the author or the original creation date... Data Exchange Model for WebLab platform provided by CASSIDIAN -Version 1.2 - 2010/08

Java class for Document complex type.

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

 <complexType name="Document">
   <complexContent>
     <extension base="{http://weblab.ow2.org/core/1.2/model#}MediaUnit">
       <sequence>
         <element name="mediaUnit" type="{http://weblab.ow2.org/core/1.2/model#}MediaUnit" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<MediaUnit> mediaUnit
           
 
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
Document()
           
 
Method Summary
 java.util.List<MediaUnit> getMediaUnit()
          Gets the value of the mediaUnit property.
 boolean isSetMediaUnit()
           
 void unsetMediaUnit()
           
 
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

mediaUnit

protected java.util.List<MediaUnit> mediaUnit
Constructor Detail

Document

public Document()
Method Detail

getMediaUnit

public java.util.List<MediaUnit> getMediaUnit()
Gets the value of the mediaUnit property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the mediaUnit property.

For example, to add a new item, do as follows:

    getMediaUnit().add(newItem);
 

Objects of the following type(s) are allowed in the list MediaUnit


isSetMediaUnit

public boolean isSetMediaUnit()

unsetMediaUnit

public void unsetMediaUnit()


Copyright © 2004-2010. All Rights Reserved.