|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.etai.xat2v2.obj.EquipmentList
public class EquipmentList
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>
| 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 |
|---|
public EquipmentList()
| Method Detail |
|---|
public List<Price> getPriceList()
PriceListType public void setPriceList(List<Price> value)
value - allowed object is
PriceListType public void addPrice(Price price)
public List<Equipment> getEquipment()
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
public void setEquipment(List<Equipment> equipment)
public void addEquipment(Equipment e)
public String getSource()
Stringpublic void setSource(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||