network.oxalis.peppol.ubl2.jaxb.PackingListType 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;
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.cac.DocumentDistributionType;
import network.oxalis.peppol.ubl2.jaxb.cac.DocumentReferenceType;
import network.oxalis.peppol.ubl2.jaxb.cac.PartyType;
import network.oxalis.peppol.ubl2.jaxb.cac.ShipmentType;
import network.oxalis.peppol.ubl2.jaxb.cac.SignatureType;
import network.oxalis.peppol.ubl2.jaxb.cbc.CustomizationIDType;
import network.oxalis.peppol.ubl2.jaxb.cbc.DescriptionType;
import network.oxalis.peppol.ubl2.jaxb.cbc.IDType;
import network.oxalis.peppol.ubl2.jaxb.cbc.IssueDateType;
import network.oxalis.peppol.ubl2.jaxb.cbc.IssueTimeType;
import network.oxalis.peppol.ubl2.jaxb.cbc.NameType;
import network.oxalis.peppol.ubl2.jaxb.cbc.NoteType;
import network.oxalis.peppol.ubl2.jaxb.cbc.OtherInstructionType;
import network.oxalis.peppol.ubl2.jaxb.cbc.ProfileExecutionIDType;
import network.oxalis.peppol.ubl2.jaxb.cbc.ProfileIDType;
import network.oxalis.peppol.ubl2.jaxb.cbc.UBLVersionIDType;
import network.oxalis.peppol.ubl2.jaxb.cbc.UUIDType;
import network.oxalis.peppol.ubl2.jaxb.cbc.VersionIDType;
import network.oxalis.peppol.ubl2.jaxb.ecdt.UBLExtensionsType;
/**
* Java class for PackingListType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PackingListType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2}UBLExtensions" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}UBLVersionID" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}CustomizationID" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ProfileID" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ProfileExecutionID" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}UUID" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}IssueDate" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}IssueTime" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Name" 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}Note" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}VersionID" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}OtherInstruction" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ConsignorParty" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}CarrierParty" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}FreightForwarderParty" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Shipment"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DocumentReference" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DocumentDistribution" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Signature" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PackingListType", namespace = "urn:oasis:names:specification:ubl:schema:xsd:PackingList-2", propOrder = {
"ublExtensions",
"ublVersionID",
"customizationID",
"profileID",
"profileExecutionID",
"id",
"uuid",
"issueDate",
"issueTime",
"name",
"description",
"note",
"versionID",
"otherInstruction",
"consignorParty",
"carrierParty",
"freightForwarderParty",
"shipment",
"documentReference",
"documentDistribution",
"signature"
})
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PackingListType {
@XmlElement(name = "UBLExtensions", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2")
protected UBLExtensionsType ublExtensions;
@XmlElement(name = "UBLVersionID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected UBLVersionIDType ublVersionID;
@XmlElement(name = "CustomizationID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected CustomizationIDType customizationID;
@XmlElement(name = "ProfileID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected ProfileIDType profileID;
@XmlElement(name = "ProfileExecutionID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected ProfileExecutionIDType profileExecutionID;
@XmlElement(name = "ID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true)
protected IDType id;
@XmlElement(name = "UUID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected UUIDType uuid;
@XmlElement(name = "IssueDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected IssueDateType issueDate;
@XmlElement(name = "IssueTime", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected IssueTimeType issueTime;
@XmlElement(name = "Name", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected NameType name;
@XmlElement(name = "Description", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected List description;
@XmlElement(name = "Note", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected List note;
@XmlElement(name = "VersionID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected VersionIDType versionID;
@XmlElement(name = "OtherInstruction", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected OtherInstructionType otherInstruction;
@XmlElement(name = "ConsignorParty", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2")
protected PartyType consignorParty;
@XmlElement(name = "CarrierParty", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2")
protected PartyType carrierParty;
@XmlElement(name = "FreightForwarderParty", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2")
protected PartyType freightForwarderParty;
@XmlElement(name = "Shipment", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2", required = true)
protected ShipmentType shipment;
@XmlElement(name = "DocumentReference", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2")
protected List documentReference;
@XmlElement(name = "DocumentDistribution", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2")
protected List documentDistribution;
@XmlElement(name = "Signature", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2")
protected List signature;
/**
* Gets the value of the ublExtensions property.
*
* @return
* possible object is
* {@link UBLExtensionsType }
*
*/
public UBLExtensionsType getUBLExtensions() {
return ublExtensions;
}
/**
* Sets the value of the ublExtensions property.
*
* @param value
* allowed object is
* {@link UBLExtensionsType }
*
*/
public void setUBLExtensions(UBLExtensionsType value) {
this.ublExtensions = value;
}
/**
* Gets the value of the ublVersionID property.
*
* @return
* possible object is
* {@link UBLVersionIDType }
*
*/
public UBLVersionIDType getUBLVersionID() {
return ublVersionID;
}
/**
* Sets the value of the ublVersionID property.
*
* @param value
* allowed object is
* {@link UBLVersionIDType }
*
*/
public void setUBLVersionID(UBLVersionIDType value) {
this.ublVersionID = value;
}
/**
* Gets the value of the customizationID property.
*
* @return
* possible object is
* {@link CustomizationIDType }
*
*/
public CustomizationIDType getCustomizationID() {
return customizationID;
}
/**
* Sets the value of the customizationID property.
*
* @param value
* allowed object is
* {@link CustomizationIDType }
*
*/
public void setCustomizationID(CustomizationIDType value) {
this.customizationID = value;
}
/**
* Gets the value of the profileID property.
*
* @return
* possible object is
* {@link ProfileIDType }
*
*/
public ProfileIDType getProfileID() {
return profileID;
}
/**
* Sets the value of the profileID property.
*
* @param value
* allowed object is
* {@link ProfileIDType }
*
*/
public void setProfileID(ProfileIDType value) {
this.profileID = value;
}
/**
* Gets the value of the profileExecutionID property.
*
* @return
* possible object is
* {@link ProfileExecutionIDType }
*
*/
public ProfileExecutionIDType getProfileExecutionID() {
return profileExecutionID;
}
/**
* Sets the value of the profileExecutionID property.
*
* @param value
* allowed object is
* {@link ProfileExecutionIDType }
*
*/
public void setProfileExecutionID(ProfileExecutionIDType value) {
this.profileExecutionID = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link IDType }
*
*/
public IDType getID() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link IDType }
*
*/
public void setID(IDType value) {
this.id = value;
}
/**
* Gets the value of the uuid property.
*
* @return
* possible object is
* {@link UUIDType }
*
*/
public UUIDType getUUID() {
return uuid;
}
/**
* Sets the value of the uuid property.
*
* @param value
* allowed object is
* {@link UUIDType }
*
*/
public void setUUID(UUIDType value) {
this.uuid = value;
}
/**
* Gets the value of the issueDate property.
*
* @return
* possible object is
* {@link IssueDateType }
*
*/
public IssueDateType getIssueDate() {
return issueDate;
}
/**
* Sets the value of the issueDate property.
*
* @param value
* allowed object is
* {@link IssueDateType }
*
*/
public void setIssueDate(IssueDateType value) {
this.issueDate = value;
}
/**
* Gets the value of the issueTime property.
*
* @return
* possible object is
* {@link IssueTimeType }
*
*/
public IssueTimeType getIssueTime() {
return issueTime;
}
/**
* Sets the value of the issueTime property.
*
* @param value
* allowed object is
* {@link IssueTimeType }
*
*/
public void setIssueTime(IssueTimeType value) {
this.issueTime = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link NameType }
*
*/
public NameType getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link NameType }
*
*/
public void setName(NameType value) {
this.name = 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 note 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 note property.
*
*
* For example, to add a new item, do as follows:
*
* getNote().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NoteType }
*
*
*/
public List getNote() {
if (note == null) {
note = new ArrayList();
}
return this.note;
}
/**
* Gets the value of the versionID property.
*
* @return
* possible object is
* {@link VersionIDType }
*
*/
public VersionIDType getVersionID() {
return versionID;
}
/**
* Sets the value of the versionID property.
*
* @param value
* allowed object is
* {@link VersionIDType }
*
*/
public void setVersionID(VersionIDType value) {
this.versionID = value;
}
/**
* Gets the value of the otherInstruction property.
*
* @return
* possible object is
* {@link OtherInstructionType }
*
*/
public OtherInstructionType getOtherInstruction() {
return otherInstruction;
}
/**
* Sets the value of the otherInstruction property.
*
* @param value
* allowed object is
* {@link OtherInstructionType }
*
*/
public void setOtherInstruction(OtherInstructionType value) {
this.otherInstruction = value;
}
/**
* Gets the value of the consignorParty property.
*
* @return
* possible object is
* {@link PartyType }
*
*/
public PartyType getConsignorParty() {
return consignorParty;
}
/**
* Sets the value of the consignorParty property.
*
* @param value
* allowed object is
* {@link PartyType }
*
*/
public void setConsignorParty(PartyType value) {
this.consignorParty = value;
}
/**
* Gets the value of the carrierParty property.
*
* @return
* possible object is
* {@link PartyType }
*
*/
public PartyType getCarrierParty() {
return carrierParty;
}
/**
* Sets the value of the carrierParty property.
*
* @param value
* allowed object is
* {@link PartyType }
*
*/
public void setCarrierParty(PartyType value) {
this.carrierParty = value;
}
/**
* Gets the value of the freightForwarderParty property.
*
* @return
* possible object is
* {@link PartyType }
*
*/
public PartyType getFreightForwarderParty() {
return freightForwarderParty;
}
/**
* Sets the value of the freightForwarderParty property.
*
* @param value
* allowed object is
* {@link PartyType }
*
*/
public void setFreightForwarderParty(PartyType value) {
this.freightForwarderParty = value;
}
/**
* Gets the value of the shipment property.
*
* @return
* possible object is
* {@link ShipmentType }
*
*/
public ShipmentType getShipment() {
return shipment;
}
/**
* Sets the value of the shipment property.
*
* @param value
* allowed object is
* {@link ShipmentType }
*
*/
public void setShipment(ShipmentType value) {
this.shipment = value;
}
/**
* Gets the value of the documentReference 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 documentReference property.
*
*
* For example, to add a new item, do as follows:
*
* getDocumentReference().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DocumentReferenceType }
*
*
*/
public List getDocumentReference() {
if (documentReference == null) {
documentReference = new ArrayList();
}
return this.documentReference;
}
/**
* Gets the value of the documentDistribution 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 documentDistribution property.
*
*
* For example, to add a new item, do as follows:
*
* getDocumentDistribution().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DocumentDistributionType }
*
*
*/
public List getDocumentDistribution() {
if (documentDistribution == null) {
documentDistribution = new ArrayList();
}
return this.documentDistribution;
}
/**
* Gets the value of the signature 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 signature property.
*
*
* For example, to add a new item, do as follows:
*
* getSignature().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SignatureType }
*
*
*/
public List getSignature() {
if (signature == null) {
signature = new ArrayList();
}
return this.signature;
}
}