// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2008.04.05 at 11:00:00 PM CEST // package slash.navigation.viamichelin.binding; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElements; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import java.util.ArrayList; import java.util.List; /** * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "itineraryOrPoi" }) @XmlRootElement(name = "poi_list") public class PoiList { @XmlAttribute(required = true) @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String version; @XmlAttribute(required = true) @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String folder; @XmlElements({ @XmlElement(name = "itinerary", type = Itinerary.class), @XmlElement(name = "poi", type = Poi.class) }) protected List<Object> itineraryOrPoi; /** * Gets the value of the version property. * * @return * possible object is * {@link String } * */ public String getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is * {@link String } * */ public void setVersion(String value) { this.version = value; } /** * Gets the value of the folder property. * * @return * possible object is * {@link String } * */ public String getFolder() { return folder; } /** * Sets the value of the folder property. * * @param value * allowed object is * {@link String } * */ public void setFolder(String value) { this.folder = value; } /** * Gets the value of the itineraryOrPoi 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 itineraryOrPoi property. * * <p> * For example, to add a new item, do as follows: * <pre> * getItineraryOrPoi().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Itinerary } * {@link Poi } * * */ public List<Object> getItineraryOrPoi() { if (itineraryOrPoi == null) { itineraryOrPoi = new ArrayList<>(); } return this.itineraryOrPoi; } }