be.ac.ulg.montefiore.run.totem.domain.model.jaxb
Interface Information.UnitsType

All Known Implementing Classes:
InformationImpl.UnitsTypeImpl
Enclosing interface:
Information

public static interface Information.UnitsType

Java content class for anonymous complex type.

The following schema fragment specifies the expected content contained within this java content object. (defined at file:/home/monfort/Projects/run-totem/src/resources/domain/Domain-v1_2.xsd line 122)

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{}unit" maxOccurs="2" minOccurs="2"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 java.util.List getUnit()
          Gets the value of the Unit property.
 

Method Detail

getUnit

java.util.List getUnit()
Gets the value of the Unit 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 Unit property.

For example, to add a new item, do as follows:

    getUnit().add(newItem);
 

Objects of the following type(s) are allowed in the list Unit UnitType



Copyright © 2004-2006 Research Unit in Networking, All Rights Reserved.