//
// 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 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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>
* Java class for requestType complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="requestType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="processing" type="{http://www.forum-datenaustausch.ch/invoice}processingType"/>
* <element name="payload" type="{http://www.forum-datenaustausch.ch/invoice}payloadType"/>
* <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
* </sequence>
* <attribute name="language" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="de"/>
* <enumeration value="fr"/>
* <enumeration value="it"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="modus" default="production">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="production"/>
* <enumeration value="test"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="validation_status" type="{http://www.w3.org/2001/XMLSchema}long" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "requestType", propOrder = {
"processing", "payload", "signature"
})
@XmlRootElement(name = "request")
public class RequestType {
@XmlElement(required = true)
protected ProcessingType processing;
@XmlElement(required = true)
protected PayloadType payload;
@XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#")
protected SignatureType signature;
@XmlAttribute(name = "language", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String language;
@XmlAttribute(name = "modus")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String modus;
@XmlAttribute(name = "validation_status")
protected Long validationStatus;
/**
* Gets the value of the processing property.
*
* @return possible object is {@link ProcessingType }
*
*/
public ProcessingType getProcessing(){
return processing;
}
/**
* Sets the value of the processing property.
*
* @param value
* allowed object is {@link ProcessingType }
*
*/
public void setProcessing(ProcessingType value){
this.processing = value;
}
/**
* Gets the value of the payload property.
*
* @return possible object is {@link PayloadType }
*
*/
public PayloadType getPayload(){
return payload;
}
/**
* Sets the value of the payload property.
*
* @param value
* allowed object is {@link PayloadType }
*
*/
public void setPayload(PayloadType value){
this.payload = value;
}
/**
* Gets the value of the signature property.
*
* @return possible object is {@link SignatureType }
*
*/
public SignatureType getSignature(){
return signature;
}
/**
* Sets the value of the signature property.
*
* @param value
* allowed object is {@link SignatureType }
*
*/
public void setSignature(SignatureType value){
this.signature = value;
}
/**
* Gets the value of the language property.
*
* @return possible object is {@link String }
*
*/
public String getLanguage(){
return language;
}
/**
* Sets the value of the language property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setLanguage(String value){
this.language = value;
}
/**
* Gets the value of the modus property.
*
* @return possible object is {@link String }
*
*/
public String getModus(){
if (modus == null) {
return "production";
} else {
return modus;
}
}
/**
* Sets the value of the modus property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setModus(String value){
this.modus = value;
}
/**
* Gets the value of the validationStatus property.
*
* @return possible object is {@link Long }
*
*/
public Long getValidationStatus(){
return validationStatus;
}
/**
* Sets the value of the validationStatus property.
*
* @param value
* allowed object is {@link Long }
*
*/
public void setValidationStatus(Long value){
this.validationStatus = value;
}
}