org.weblab_project.core.model.structure
Class Line
java.lang.Object
org.weblab_project.core.model.Resource
org.weblab_project.core.model.MediaUnit
org.weblab_project.core.model.structure.Line
- All Implemented Interfaces:
- java.io.Serializable
public class Line
- extends MediaUnit
- implements java.io.Serializable
A line is a specific media unit that could handle part of content structured in table. It handles a list of cells. As a resource, line 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 line complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="line">
<complexContent>
<extension base="{http://weblab-project.org/core/model/}mediaUnit">
<sequence>
<element name="cell" type="{http://weblab-project.org/core/model/structure}cell" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
- See Also:
- Serialized Form
Field Summary |
protected java.util.List<Cell> |
cell
|
Constructor Summary |
Line()
|
Method Summary |
java.util.List<Cell> |
getCell()
Gets the value of the cell property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cell
protected java.util.List<Cell> cell
Line
public Line()
getCell
public java.util.List<Cell> getCell()
- Gets the value of the cell 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 cell property.
For example, to add a new item, do as follows:
getCell().add(newItem);
Objects of the following type(s) are allowed in the list
Cell
Copyright © 2004-2009. All Rights Reserved.