// // 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.08.06 at 11:30:49 AM CEST // package slash.navigation.download.queue.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 queued downloadable * * * <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/download-queue}checksumType" minOccurs="0"/> * <element name="fragment" type="{http://api.routeconverter.com/v1/schemas/download-queue}fragmentType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="target" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "downloadableType", propOrder = { "checksum", "fragment" }) public class DownloadableType { protected ChecksumType checksum; protected List<FragmentType> fragment; @XmlAttribute(name = "target", required = true) protected String target; /** * Gets the value of the checksum property. * * @return * possible object is * {@link ChecksumType } * */ public ChecksumType getChecksum() { return checksum; } /** * Sets the value of the checksum property. * * @param value * allowed object is * {@link ChecksumType } * */ public void setChecksum(ChecksumType value) { this.checksum = value; } /** * 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 target property. * * @return * possible object is * {@link String } * */ public String getTarget() { return target; } /** * Sets the value of the target property. * * @param value * allowed object is * {@link String } * */ public void setTarget(String value) { this.target = value; } }