// // 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.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; /** * * a downloadable contains checksums, fragments and uri for a file relative to the base url * * * <p>Java class for downloadableType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="downloadableType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="checksum" type="{http://api.routeconverter.com/v1/schemas/datasource-catalog}checksumType" maxOccurs="unbounded" minOccurs="0"/> * <element name="fragment" type="{http://api.routeconverter.com/v1/schemas/datasource-catalog}fragmentType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="uri" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "downloadableType", propOrder = { "checksum", "fragment" }) @XmlSeeAlso({ FileType.class, ThemeType.class, MapType.class }) public class DownloadableType { protected List<ChecksumType> checksum; protected List<FragmentType> fragment; @XmlAttribute(name = "uri", required = true) protected String uri; /** * Gets the value of the checksum 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 checksum property. * * <p> * For example, to add a new item, do as follows: * <pre> * getChecksum().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link ChecksumType } * * */ public List<ChecksumType> getChecksum() { if (checksum == null) { checksum = new ArrayList<ChecksumType>(); } return this.checksum; } /** * Gets the value of the fragment 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 fragment property. * * <p> * For example, to add a new item, do as follows: * <pre> * getFragment().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link FragmentType } * * */ public List<FragmentType> getFragment() { if (fragment == null) { fragment = new ArrayList<FragmentType>(); } return this.fragment; } /** * Gets the value of the uri property. * * @return * possible object is * {@link String } * */ public String getUri() { return uri; } /** * Sets the value of the uri property. * * @param value * allowed object is * {@link String } * */ public void setUri(String value) { this.uri = value; } }