org.weblab_project.core.model
Class ComposedUnit
java.lang.Object
org.weblab_project.core.model.Resource
org.weblab_project.core.model.MediaUnit
org.weblab_project.core.model.ComposedUnit
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Document
public class ComposedUnit
- extends MediaUnit
- implements java.io.Serializable
A composed unit is a media unit which only contain a list of other units. Thus it can be viewed as a common container handling the global structure description of a multimedia
document. The intern media unit can be organised sequentially (i.e. multiple text section) or in parallel and synchronised (i.e. audio speech of a video, speech transcription or
multiple translation of the same text content). In order to reflect this capability a specific boolean attribute will mark if the unit are synchronised (i.e. "true" means synchronised
units and "false" sequential units).
As a resource, a composed unit could be annotated to provide, for example, meta-information on its content or on the relation which links the different unit composing its content.
Data Exchange Model for WebLab platform provided by EADS Core package - Version 1.1 - 2009/05
Java class for composedUnit complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="composedUnit">
<complexContent>
<extension base="{http://weblab-project.org/core/model/}mediaUnit">
<sequence>
<element name="mediaUnit" type="{http://weblab-project.org/core/model/}mediaUnit" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="synchronised" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</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
synchronised
protected boolean synchronised
ComposedUnit
public ComposedUnit()
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
isSynchronised
public boolean isSynchronised()
- Gets the value of the synchronised property.
setSynchronised
public void setSynchronised(boolean value)
- Sets the value of the synchronised property.
Copyright © 2004-2009. All Rights Reserved.