// // Ce fichier a été généré par l'implémentation de référence JavaTM Architecture for XML Binding (JAXB), v2.2.11 // Voir <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Toute modification apportée à ce fichier sera perdue lors de la recompilation du schéma source. // Généré le : 2014.12.22 à 09:37:21 PM CET // package org.transgalactica.management.flux.rest; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>Classe Java pour HangarDetailDto complex type. * * <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe. * * <pre> * <complexType name="HangarDetailDto"> * <complexContent> * <extension base="{http://management.transgalactica.org/logistics}HangarDto"> * <sequence> * <element name="vaisseaux" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="vaisseau" type="{http://management.transgalactica.org/logistics}HangarVaisseau" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "HangarDetailDto", namespace = "http://management.transgalactica.org/logistics", propOrder = { "vaisseaux" }) public class HangarDetailDto extends HangarDto { protected HangarDetailDto.Vaisseaux vaisseaux; /** * Obtient la valeur de la propriété vaisseaux. * * @return * possible object is * {@link HangarDetailDto.Vaisseaux } * */ public HangarDetailDto.Vaisseaux getVaisseaux() { return vaisseaux; } /** * Définit la valeur de la propriété vaisseaux. * * @param value * allowed object is * {@link HangarDetailDto.Vaisseaux } * */ public void setVaisseaux(HangarDetailDto.Vaisseaux value) { this.vaisseaux = value; } /** * <p>Classe Java pour anonymous complex type. * * <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="vaisseau" type="{http://management.transgalactica.org/logistics}HangarVaisseau" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "vaisseau" }) public static class Vaisseaux { protected List<HangarVaisseau> vaisseau; /** * Gets the value of the vaisseau property. * * <p> * 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 <CODE>set</CODE> method for the vaisseau property. * * <p> * For example, to add a new item, do as follows: * <pre> * getVaisseau().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link HangarVaisseau } * * */ public List<HangarVaisseau> getVaisseau() { if (vaisseau == null) { vaisseau = new ArrayList<HangarVaisseau>(); } return this.vaisseau; } public void setVaisseau(List<HangarVaisseau> value) { this.vaisseau = null; List<HangarVaisseau> draftl = this.getVaisseau(); draftl.addAll(value); } } }