org.weblab_project.core.model.structure
Class Table
java.lang.Object
org.weblab_project.core.model.Resource
org.weblab_project.core.model.MediaUnit
org.weblab_project.core.model.structure.Table
- All Implemented Interfaces:
- java.io.Serializable
public class Table
- extends MediaUnit
- implements java.io.Serializable
A table is a specific mediaUnit that could handle content structured in table. It handles a list of lines to reflect the table content.
As a resource, table could be annotated to provide, for example, meta-information on its creation date, its version or its dimension, for instance.
Data Exchange Model for WebLab platform provided by EADS Structure package - Version 1.1 - 2009/05
Java class for table complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="table">
<complexContent>
<extension base="{http://weblab-project.org/core/model/}mediaUnit">
<sequence>
<element name="line" type="{http://weblab-project.org/core/model/structure}line" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
- See Also:
- Serialized Form
Field Summary |
protected java.util.List<Line> |
line
|
Constructor Summary |
Table()
|
Method Summary |
java.util.List<Line> |
getLine()
Gets the value of the line property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
line
protected java.util.List<Line> line
Table
public Table()
getLine
public java.util.List<Line> getLine()
- Gets the value of the line 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 line property.
For example, to add a new item, do as follows:
getLine().add(newItem);
Objects of the following type(s) are allowed in the list
Line
Copyright © 2004-2010. All Rights Reserved.