org.weblab_project.core.model.structure
Class Line

java.lang.Object
  extended by org.weblab_project.core.model.Resource
      extended by org.weblab_project.core.model.MediaUnit
          extended by 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
           
 
Fields inherited from class org.weblab_project.core.model.MediaUnit
segment
 
Fields inherited from class org.weblab_project.core.model.Resource
annotation, descriptor, uri
 
Constructor Summary
Line()
           
 
Method Summary
 java.util.List<Cell> getCell()
          Gets the value of the cell property.
 
Methods inherited from class org.weblab_project.core.model.MediaUnit
getSegment
 
Methods inherited from class org.weblab_project.core.model.Resource
getAnnotation, getDescriptor, getUri, setUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cell

protected java.util.List<Cell> cell
Constructor Detail

Line

public Line()
Method Detail

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-2010. All Rights Reserved.