//
// 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 01:35:39 PM CET
//
package ch.fd.invoice400.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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for prologType complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="prologType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="package" type="{http://www.xmlData.ch/xmlInvoice/XSD}softwareType" minOccurs="0"/>
* <element name="generator" type="{http://www.xmlData.ch/xmlInvoice/XSD}generatorType"/>
* <element name="validator" type="{http://www.xmlData.ch/xmlInvoice/XSD}dataValidatorType" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "prologType", propOrder = {
"_package", "generator", "validator"
})
public class PrologType {
@XmlElement(name = "package")
protected SoftwareType _package;
@XmlElement(required = true)
protected GeneratorType generator;
protected List<DataValidatorType> validator;
/**
* Gets the value of the package property.
*
* @return possible object is {@link SoftwareType }
*
*/
public SoftwareType getPackage(){
return _package;
}
/**
* Sets the value of the package property.
*
* @param value
* allowed object is {@link SoftwareType }
*
*/
public void setPackage(SoftwareType value){
this._package = value;
}
/**
* Gets the value of the generator property.
*
* @return possible object is {@link GeneratorType }
*
*/
public GeneratorType getGenerator(){
return generator;
}
/**
* Sets the value of the generator property.
*
* @param value
* allowed object is {@link GeneratorType }
*
*/
public void setGenerator(GeneratorType value){
this.generator = value;
}
/**
* Gets the value of the validator 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 validator property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getValidator().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link DataValidatorType }
*
*
*/
public List<DataValidatorType> getValidator(){
if (validator == null) {
validator = new ArrayList<DataValidatorType>();
}
return this.validator;
}
}