fr.etai.xat2v2.obj
Class EquipmentList

java.lang.Object
  extended by fr.etai.xat2v2.obj.EquipmentList
All Implemented Interfaces:
Serializable

public class EquipmentList
extends Object
implements Serializable

EquipmentList is a list of Equipment.

Java class for EquipmentListType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="EquipmentListType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="price-list" type="{http://xat2.etai.fr}PriceListType" minOccurs="0"/>
         <element name="equipment" type="{http://xat2.etai.fr}EquipmentType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Constructor Summary
EquipmentList()
           
 
Method Summary
 void addEquipment(Equipment e)
           
 void addPrice(Price price)
           
 List<Equipment> getEquipment()
          Gets the value of the equipment property.
 List<Price> getPriceList()
          Gets the value of the priceList property.
 String getSource()
          Gets the value of the source property.
 void setEquipment(List<Equipment> equipment)
           
 void setPriceList(List<Price> value)
          Sets the value of the priceList property.
 void setSource(String value)
          Sets the value of the source property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EquipmentList

public EquipmentList()
Method Detail

getPriceList

public List<Price> getPriceList()
Gets the value of the priceList property.

Returns:
possible object is PriceListType

setPriceList

public void setPriceList(List<Price> value)
Sets the value of the priceList property.

Parameters:
value - allowed object is PriceListType

addPrice

public void addPrice(Price price)

getEquipment

public List<Equipment> getEquipment()
Gets the value of the equipment 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 equipment property.

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

    getEquipment().add(newItem);
 

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


setEquipment

public void setEquipment(List<Equipment> equipment)

addEquipment

public void addEquipment(Equipment e)

getSource

public String getSource()
Gets the value of the source property.

Returns:
possible object is String

setSource

public void setSource(String value)
Sets the value of the source property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.