org.ow2.weblab.core.model
Class ComposedResource
java.lang.Object
org.ow2.weblab.core.model.Resource
org.ow2.weblab.core.model.ComposedResource
- All Implemented Interfaces:
- java.io.Serializable
public class ComposedResource
- extends Resource
- implements java.io.Serializable
A ComposedResource defines a simple aggregate of
resources and allows to regroup them within the same unit. Since a
multimedia document is a resource, the simplest ComposedResource
will be a corpus of documents such as the video about the same
program during one year. It could also be a set of useful resources
needed by a service such as a set of annotations or a document with
a attached PoK that allows to analyse it. As a resource, a
ComposedResource could be annotated to provide, for example,
meta-information on its content or the reasons of the aggegate. Data
Exchange Model for WebLab platform provided by CASSIDIAN- Version 1.2 -
2010/08
Java class for ComposedResource complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ComposedResource">
<complexContent>
<extension base="{http://weblab.ow2.org/core/1.2/model#}Resource">
<sequence>
<element name="resource" type="{http://weblab.ow2.org/core/1.2/model#}Resource" maxOccurs="unbounded"/>
</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 |
resource
protected java.util.List<Resource> resource
ComposedResource
public ComposedResource()
getResource
public java.util.List<Resource> getResource()
- Gets the value of the resource 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 resource property.
For example, to add a new item, do as follows:
getResource().add(newItem);
Objects of the following type(s) are allowed in the list
Resource
Copyright © 2004-2010. All Rights Reserved.