org.ow2.weblab.core.model
Class Document
java.lang.Object
org.ow2.weblab.core.model.Resource
org.ow2.weblab.core.model.MediaUnit
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mediaUnit
protected java.util.List<MediaUnit> mediaUnit
Document
public Document()
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.