network.oxalis.peppol.ubl2.jaxb.cac.EventType 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.CompletionIndicatorType;
import network.oxalis.peppol.ubl2.jaxb.cbc.DescriptionType;
import network.oxalis.peppol.ubl2.jaxb.cbc.IdentificationIDType;
import network.oxalis.peppol.ubl2.jaxb.cbc.OccurrenceDateType;
import network.oxalis.peppol.ubl2.jaxb.cbc.OccurrenceTimeType;
import network.oxalis.peppol.ubl2.jaxb.cbc.TypeCodeType;
/**
* Java class for EventType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="EventType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}IdentificationID" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}OccurrenceDate" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}OccurrenceTime" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TypeCode" 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}CompletionIndicator" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}CurrentStatus" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Contact" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}OccurenceLocation" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EventType", propOrder = {
"identificationID",
"occurrenceDate",
"occurrenceTime",
"typeCode",
"description",
"completionIndicator",
"currentStatus",
"contact",
"occurenceLocation"
})
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class EventType {
@XmlElement(name = "IdentificationID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected IdentificationIDType identificationID;
@XmlElement(name = "OccurrenceDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected OccurrenceDateType occurrenceDate;
@XmlElement(name = "OccurrenceTime", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected OccurrenceTimeType occurrenceTime;
@XmlElement(name = "TypeCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected TypeCodeType typeCode;
@XmlElement(name = "Description", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected List description;
@XmlElement(name = "CompletionIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected CompletionIndicatorType completionIndicator;
@XmlElement(name = "CurrentStatus")
protected List currentStatus;
@XmlElement(name = "Contact")
protected List contact;
@XmlElement(name = "OccurenceLocation")
protected LocationType occurenceLocation;
/**
* Gets the value of the identificationID property.
*
* @return
* possible object is
* {@link IdentificationIDType }
*
*/
public IdentificationIDType getIdentificationID() {
return identificationID;
}
/**
* Sets the value of the identificationID property.
*
* @param value
* allowed object is
* {@link IdentificationIDType }
*
*/
public void setIdentificationID(IdentificationIDType value) {
this.identificationID = value;
}
/**
* Gets the value of the occurrenceDate property.
*
* @return
* possible object is
* {@link OccurrenceDateType }
*
*/
public OccurrenceDateType getOccurrenceDate() {
return occurrenceDate;
}
/**
* Sets the value of the occurrenceDate property.
*
* @param value
* allowed object is
* {@link OccurrenceDateType }
*
*/
public void setOccurrenceDate(OccurrenceDateType value) {
this.occurrenceDate = value;
}
/**
* Gets the value of the occurrenceTime property.
*
* @return
* possible object is
* {@link OccurrenceTimeType }
*
*/
public OccurrenceTimeType getOccurrenceTime() {
return occurrenceTime;
}
/**
* Sets the value of the occurrenceTime property.
*
* @param value
* allowed object is
* {@link OccurrenceTimeType }
*
*/
public void setOccurrenceTime(OccurrenceTimeType value) {
this.occurrenceTime = value;
}
/**
* Gets the value of the typeCode property.
*
* @return
* possible object is
* {@link TypeCodeType }
*
*/
public TypeCodeType getTypeCode() {
return typeCode;
}
/**
* Sets the value of the typeCode property.
*
* @param value
* allowed object is
* {@link TypeCodeType }
*
*/
public void setTypeCode(TypeCodeType value) {
this.typeCode = 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 completionIndicator property.
*
* @return
* possible object is
* {@link CompletionIndicatorType }
*
*/
public CompletionIndicatorType getCompletionIndicator() {
return completionIndicator;
}
/**
* Sets the value of the completionIndicator property.
*
* @param value
* allowed object is
* {@link CompletionIndicatorType }
*
*/
public void setCompletionIndicator(CompletionIndicatorType value) {
this.completionIndicator = value;
}
/**
* Gets the value of the currentStatus 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 currentStatus property.
*
*
* For example, to add a new item, do as follows:
*
* getCurrentStatus().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link StatusType }
*
*
*/
public List getCurrentStatus() {
if (currentStatus == null) {
currentStatus = new ArrayList();
}
return this.currentStatus;
}
/**
* Gets the value of the contact 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 contact property.
*
*
* For example, to add a new item, do as follows:
*
* getContact().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ContactType }
*
*
*/
public List getContact() {
if (contact == null) {
contact = new ArrayList();
}
return this.contact;
}
/**
* Gets the value of the occurenceLocation property.
*
* @return
* possible object is
* {@link LocationType }
*
*/
public LocationType getOccurenceLocation() {
return occurenceLocation;
}
/**
* Sets the value of the occurenceLocation property.
*
* @param value
* allowed object is
* {@link LocationType }
*
*/
public void setOccurenceLocation(LocationType value) {
this.occurenceLocation = value;
}
}