network.oxalis.peppol.ubl2.jaxb.cac.ResponseType Maven / Gradle / Ivy
Show all versions of peppol-ubl21 Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2023.08.26 at 01:27:09 PM UTC
//
package network.oxalis.peppol.ubl2.jaxb.cac;
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;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;
import network.oxalis.peppol.ubl2.jaxb.cbc.DescriptionType;
import network.oxalis.peppol.ubl2.jaxb.cbc.EffectiveDateType;
import network.oxalis.peppol.ubl2.jaxb.cbc.EffectiveTimeType;
import network.oxalis.peppol.ubl2.jaxb.cbc.ReferenceIDType;
import network.oxalis.peppol.ubl2.jaxb.cbc.ResponseCodeType;
/**
* Java class for ResponseType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ResponseType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ReferenceID" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ResponseCode" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Description" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}EffectiveDate" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}EffectiveTime" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Status" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ResponseType", propOrder = {
"referenceID",
"responseCode",
"description",
"effectiveDate",
"effectiveTime",
"status"
})
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ResponseType {
@XmlElement(name = "ReferenceID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected ReferenceIDType referenceID;
@XmlElement(name = "ResponseCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected ResponseCodeType responseCode;
@XmlElement(name = "Description", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected List description;
@XmlElement(name = "EffectiveDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected EffectiveDateType effectiveDate;
@XmlElement(name = "EffectiveTime", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected EffectiveTimeType effectiveTime;
@XmlElement(name = "Status")
protected List status;
/**
* Gets the value of the referenceID property.
*
* @return
* possible object is
* {@link ReferenceIDType }
*
*/
public ReferenceIDType getReferenceID() {
return referenceID;
}
/**
* Sets the value of the referenceID property.
*
* @param value
* allowed object is
* {@link ReferenceIDType }
*
*/
public void setReferenceID(ReferenceIDType value) {
this.referenceID = value;
}
/**
* Gets the value of the responseCode property.
*
* @return
* possible object is
* {@link ResponseCodeType }
*
*/
public ResponseCodeType getResponseCode() {
return responseCode;
}
/**
* Sets the value of the responseCode property.
*
* @param value
* allowed object is
* {@link ResponseCodeType }
*
*/
public void setResponseCode(ResponseCodeType value) {
this.responseCode = value;
}
/**
* Gets the value of the description 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 description property.
*
*
* For example, to add a new item, do as follows:
*
* getDescription().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DescriptionType }
*
*
*/
public List getDescription() {
if (description == null) {
description = new ArrayList();
}
return this.description;
}
/**
* Gets the value of the effectiveDate property.
*
* @return
* possible object is
* {@link EffectiveDateType }
*
*/
public EffectiveDateType getEffectiveDate() {
return effectiveDate;
}
/**
* Sets the value of the effectiveDate property.
*
* @param value
* allowed object is
* {@link EffectiveDateType }
*
*/
public void setEffectiveDate(EffectiveDateType value) {
this.effectiveDate = value;
}
/**
* Gets the value of the effectiveTime property.
*
* @return
* possible object is
* {@link EffectiveTimeType }
*
*/
public EffectiveTimeType getEffectiveTime() {
return effectiveTime;
}
/**
* Sets the value of the effectiveTime property.
*
* @param value
* allowed object is
* {@link EffectiveTimeType }
*
*/
public void setEffectiveTime(EffectiveTimeType value) {
this.effectiveTime = value;
}
/**
* Gets the value of the status 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 status property.
*
*
* For example, to add a new item, do as follows:
*
* getStatus().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link StatusType }
*
*
*/
public List getStatus() {
if (status == null) {
status = new ArrayList();
}
return this.status;
}
}