no.difi.vefa.peppol.evidence.jaxb.receipt.PeppolRemExtension Maven / Gradle / Ivy
Show all versions of peppol-evidence Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.09.16 at 12:56:37 PM UTC
//
package no.difi.vefa.peppol.evidence.jaxb.receipt;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="TransmissionProtocol" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="TransmissionRole" type="{http://peppol.eu/xsd/ticc/receipt/1.0}TransmissionRole"/>
* <element name="OriginalReceipt" type="{http://peppol.eu/xsd/ticc/receipt/1.0}OriginalReceiptType" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"transmissionProtocol",
"transmissionRole",
"originalReceipt"
})
@XmlRootElement(name = "PeppolRemExtension")
public class PeppolRemExtension {
@XmlElement(name = "TransmissionProtocol", required = true)
protected String transmissionProtocol;
@XmlElement(name = "TransmissionRole", required = true)
protected TransmissionRole transmissionRole;
@XmlElement(name = "OriginalReceipt")
protected List originalReceipt;
/**
* Gets the value of the transmissionProtocol property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTransmissionProtocol() {
return transmissionProtocol;
}
/**
* Sets the value of the transmissionProtocol property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTransmissionProtocol(String value) {
this.transmissionProtocol = value;
}
/**
* Gets the value of the transmissionRole property.
*
* @return
* possible object is
* {@link TransmissionRole }
*
*/
public TransmissionRole getTransmissionRole() {
return transmissionRole;
}
/**
* Sets the value of the transmissionRole property.
*
* @param value
* allowed object is
* {@link TransmissionRole }
*
*/
public void setTransmissionRole(TransmissionRole value) {
this.transmissionRole = value;
}
/**
* Gets the value of the originalReceipt property.
*
*
* 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 set
method for the originalReceipt property.
*
*
* For example, to add a new item, do as follows:
*
* getOriginalReceipt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OriginalReceiptType }
*
*
*/
public List getOriginalReceipt() {
if (originalReceipt == null) {
originalReceipt = new ArrayList();
}
return this.originalReceipt;
}
}