network.oxalis.peppol.ubl2.jaxb.cac.ContractType 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.ContractTypeCodeType;
import network.oxalis.peppol.ubl2.jaxb.cbc.ContractTypeType;
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.NominationDateType;
import network.oxalis.peppol.ubl2.jaxb.cbc.NominationTimeType;
import network.oxalis.peppol.ubl2.jaxb.cbc.NoteType;
import network.oxalis.peppol.ubl2.jaxb.cbc.VersionIDType;
/**
* Java class for ContractType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ContractType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID" 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}NominationDate" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}NominationTime" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ContractTypeCode" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ContractType" 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}Description" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ValidityPeriod" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ContractDocumentReference" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}NominationPeriod" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ContractualDelivery" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ContractType", propOrder = {
"id",
"issueDate",
"issueTime",
"nominationDate",
"nominationTime",
"contractTypeCode",
"contractType",
"note",
"versionID",
"description",
"validityPeriod",
"contractDocumentReference",
"nominationPeriod",
"contractualDelivery"
})
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ContractType {
@XmlElement(name = "ID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected IDType id;
@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 = "NominationDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected NominationDateType nominationDate;
@XmlElement(name = "NominationTime", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected NominationTimeType nominationTime;
@XmlElement(name = "ContractTypeCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected ContractTypeCodeType contractTypeCode;
@XmlElement(name = "ContractType", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected ContractTypeType contractType;
@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 = "Description", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected List description;
@XmlElement(name = "ValidityPeriod")
protected PeriodType validityPeriod;
@XmlElement(name = "ContractDocumentReference")
protected List contractDocumentReference;
@XmlElement(name = "NominationPeriod")
protected PeriodType nominationPeriod;
@XmlElement(name = "ContractualDelivery")
protected DeliveryType contractualDelivery;
/**
* 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 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 nominationDate property.
*
* @return
* possible object is
* {@link NominationDateType }
*
*/
public NominationDateType getNominationDate() {
return nominationDate;
}
/**
* Sets the value of the nominationDate property.
*
* @param value
* allowed object is
* {@link NominationDateType }
*
*/
public void setNominationDate(NominationDateType value) {
this.nominationDate = value;
}
/**
* Gets the value of the nominationTime property.
*
* @return
* possible object is
* {@link NominationTimeType }
*
*/
public NominationTimeType getNominationTime() {
return nominationTime;
}
/**
* Sets the value of the nominationTime property.
*
* @param value
* allowed object is
* {@link NominationTimeType }
*
*/
public void setNominationTime(NominationTimeType value) {
this.nominationTime = value;
}
/**
* Gets the value of the contractTypeCode property.
*
* @return
* possible object is
* {@link ContractTypeCodeType }
*
*/
public ContractTypeCodeType getContractTypeCode() {
return contractTypeCode;
}
/**
* Sets the value of the contractTypeCode property.
*
* @param value
* allowed object is
* {@link ContractTypeCodeType }
*
*/
public void setContractTypeCode(ContractTypeCodeType value) {
this.contractTypeCode = value;
}
/**
* Gets the value of the contractType property.
*
* @return
* possible object is
* {@link ContractTypeType }
*
*/
public ContractTypeType getContractType() {
return contractType;
}
/**
* Sets the value of the contractType property.
*
* @param value
* allowed object is
* {@link ContractTypeType }
*
*/
public void setContractType(ContractTypeType value) {
this.contractType = value;
}
/**
* 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 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 validityPeriod property.
*
* @return
* possible object is
* {@link PeriodType }
*
*/
public PeriodType getValidityPeriod() {
return validityPeriod;
}
/**
* Sets the value of the validityPeriod property.
*
* @param value
* allowed object is
* {@link PeriodType }
*
*/
public void setValidityPeriod(PeriodType value) {
this.validityPeriod = value;
}
/**
* Gets the value of the contractDocumentReference 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 contractDocumentReference property.
*
*
* For example, to add a new item, do as follows:
*
* getContractDocumentReference().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DocumentReferenceType }
*
*
*/
public List getContractDocumentReference() {
if (contractDocumentReference == null) {
contractDocumentReference = new ArrayList();
}
return this.contractDocumentReference;
}
/**
* Gets the value of the nominationPeriod property.
*
* @return
* possible object is
* {@link PeriodType }
*
*/
public PeriodType getNominationPeriod() {
return nominationPeriod;
}
/**
* Sets the value of the nominationPeriod property.
*
* @param value
* allowed object is
* {@link PeriodType }
*
*/
public void setNominationPeriod(PeriodType value) {
this.nominationPeriod = value;
}
/**
* Gets the value of the contractualDelivery property.
*
* @return
* possible object is
* {@link DeliveryType }
*
*/
public DeliveryType getContractualDelivery() {
return contractualDelivery;
}
/**
* Sets the value of the contractualDelivery property.
*
* @param value
* allowed object is
* {@link DeliveryType }
*
*/
public void setContractualDelivery(DeliveryType value) {
this.contractualDelivery = value;
}
}