// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // 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.03.18 at 03:48:09 PM CET // package ch.fd.invoice440.request; 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.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for softwareType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="softwareType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="depends_on" type="{http://www.forum-datenaustausch.ch/invoice}dependsOnType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="name" use="required" type="{http://www.forum-datenaustausch.ch/invoice}stringType1_50" /> * <attribute name="copyright" type="{http://www.forum-datenaustausch.ch/invoice}stringType1_50" /> * <attribute name="description" type="{http://www.forum-datenaustausch.ch/invoice}stringType1_50" /> * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" /> * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "softwareType", propOrder = { "dependsOn" }) public class SoftwareType { @XmlElement(name = "depends_on") protected List<DependsOnType> dependsOn; @XmlAttribute(name = "name", required = true) protected String name; @XmlAttribute(name = "copyright") protected String copyright; @XmlAttribute(name = "description") protected String description; @XmlAttribute(name = "version") @XmlSchemaType(name = "unsignedInt") protected Long version; @XmlAttribute(name = "id") @XmlSchemaType(name = "unsignedInt") protected Long id; /** * Gets the value of the dependsOn 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 dependsOn property. * * <p> * For example, to add a new item, do as follows: * <pre> * getDependsOn().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link DependsOnType } * * */ public List<DependsOnType> getDependsOn() { if (dependsOn == null) { dependsOn = new ArrayList<DependsOnType>(); } return this.dependsOn; } /** * 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 copyright property. * * @return * possible object is * {@link String } * */ public String getCopyright() { return copyright; } /** * Sets the value of the copyright property. * * @param value * allowed object is * {@link String } * */ public void setCopyright(String value) { this.copyright = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the version property. * * @return * possible object is * {@link Long } * */ public Long getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is * {@link Long } * */ public void setVersion(Long value) { this.version = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link Long } * */ public long getId() { if (id == null) { return 0L; } else { return id; } } /** * Sets the value of the id property. * * @param value * allowed object is * {@link Long } * */ public void setId(Long value) { this.id = value; } }