// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // 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: 2015.10.28 at 03:39:26 PM CET // package slash.navigation.datasources.binding; 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.XmlAttribute; import javax.xml.bind.annotation.XmlType; /** * * a datasource contains an id, a name, and optionally a href, a base url, a directory, files, themes and maps * * * <p>Java class for datasourceType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="datasourceType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="file" type="{http://api.routeconverter.com/v1/schemas/datasource-catalog}fileType" maxOccurs="unbounded" minOccurs="0"/> * <element name="map" type="{http://api.routeconverter.com/v1/schemas/datasource-catalog}mapType" maxOccurs="unbounded" minOccurs="0"/> * <element name="theme" type="{http://api.routeconverter.com/v1/schemas/datasource-catalog}themeType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="baseUrl" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="directory" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="action" type="{http://api.routeconverter.com/v1/schemas/datasource-catalog}actionType" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "datasourceType", propOrder = { "file", "map", "theme" }) public class DatasourceType { protected List<FileType> file; protected List<MapType> map; protected List<ThemeType> theme; @XmlAttribute(name = "id", required = true) protected String id; @XmlAttribute(name = "name") protected String name; @XmlAttribute(name = "href") protected String href; @XmlAttribute(name = "baseUrl") protected String baseUrl; @XmlAttribute(name = "directory") protected String directory; @XmlAttribute(name = "action") protected ActionType action; /** * Gets the value of the file 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 file property. * * <p> * For example, to add a new item, do as follows: * <pre> * getFile().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link FileType } * * */ public List<FileType> getFile() { if (file == null) { file = new ArrayList<FileType>(); } return this.file; } /** * Gets the value of the map 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 map property. * * <p> * For example, to add a new item, do as follows: * <pre> * getMap().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link MapType } * * */ public List<MapType> getMap() { if (map == null) { map = new ArrayList<MapType>(); } return this.map; } /** * Gets the value of the theme 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 theme property. * * <p> * For example, to add a new item, do as follows: * <pre> * getTheme().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link ThemeType } * * */ public List<ThemeType> getTheme() { if (theme == null) { theme = new ArrayList<ThemeType>(); } return this.theme; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the href property. * * @return * possible object is * {@link String } * */ public String getHref() { return href; } /** * Sets the value of the href property. * * @param value * allowed object is * {@link String } * */ public void setHref(String value) { this.href = value; } /** * Gets the value of the baseUrl property. * * @return * possible object is * {@link String } * */ public String getBaseUrl() { return baseUrl; } /** * Sets the value of the baseUrl property. * * @param value * allowed object is * {@link String } * */ public void setBaseUrl(String value) { this.baseUrl = value; } /** * Gets the value of the directory property. * * @return * possible object is * {@link String } * */ public String getDirectory() { return directory; } /** * Sets the value of the directory property. * * @param value * allowed object is * {@link String } * */ public void setDirectory(String value) { this.directory = value; } /** * Gets the value of the action property. * * @return * possible object is * {@link ActionType } * */ public ActionType getAction() { return action; } /** * Sets the value of the action property. * * @param value * allowed object is * {@link ActionType } * */ public void setAction(ActionType value) { this.action = value; } }