network.oxalis.peppol.ubl2.jaxb.cac.SignatureType 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.CanonicalizationMethodType;
import network.oxalis.peppol.ubl2.jaxb.cbc.IDType;
import network.oxalis.peppol.ubl2.jaxb.cbc.NoteType;
import network.oxalis.peppol.ubl2.jaxb.cbc.SignatureMethodType;
import network.oxalis.peppol.ubl2.jaxb.cbc.ValidationDateType;
import network.oxalis.peppol.ubl2.jaxb.cbc.ValidationTimeType;
import network.oxalis.peppol.ubl2.jaxb.cbc.ValidatorIDType;
/**
* Java class for SignatureType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SignatureType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID"/>
* <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}ValidationDate" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ValidationTime" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ValidatorID" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}CanonicalizationMethod" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SignatureMethod" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}SignatoryParty" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DigitalSignatureAttachment" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}OriginalDocumentReference" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SignatureType", propOrder = {
"id",
"note",
"validationDate",
"validationTime",
"validatorID",
"canonicalizationMethod",
"signatureMethod",
"signatoryParty",
"digitalSignatureAttachment",
"originalDocumentReference"
})
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SignatureType {
@XmlElement(name = "ID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true)
protected IDType id;
@XmlElement(name = "Note", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected List note;
@XmlElement(name = "ValidationDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected ValidationDateType validationDate;
@XmlElement(name = "ValidationTime", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected ValidationTimeType validationTime;
@XmlElement(name = "ValidatorID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected ValidatorIDType validatorID;
@XmlElement(name = "CanonicalizationMethod", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected CanonicalizationMethodType canonicalizationMethod;
@XmlElement(name = "SignatureMethod", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected SignatureMethodType signatureMethod;
@XmlElement(name = "SignatoryParty")
protected PartyType signatoryParty;
@XmlElement(name = "DigitalSignatureAttachment")
protected AttachmentType digitalSignatureAttachment;
@XmlElement(name = "OriginalDocumentReference")
protected DocumentReferenceType originalDocumentReference;
/**
* 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 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 validationDate property.
*
* @return
* possible object is
* {@link ValidationDateType }
*
*/
public ValidationDateType getValidationDate() {
return validationDate;
}
/**
* Sets the value of the validationDate property.
*
* @param value
* allowed object is
* {@link ValidationDateType }
*
*/
public void setValidationDate(ValidationDateType value) {
this.validationDate = value;
}
/**
* Gets the value of the validationTime property.
*
* @return
* possible object is
* {@link ValidationTimeType }
*
*/
public ValidationTimeType getValidationTime() {
return validationTime;
}
/**
* Sets the value of the validationTime property.
*
* @param value
* allowed object is
* {@link ValidationTimeType }
*
*/
public void setValidationTime(ValidationTimeType value) {
this.validationTime = value;
}
/**
* Gets the value of the validatorID property.
*
* @return
* possible object is
* {@link ValidatorIDType }
*
*/
public ValidatorIDType getValidatorID() {
return validatorID;
}
/**
* Sets the value of the validatorID property.
*
* @param value
* allowed object is
* {@link ValidatorIDType }
*
*/
public void setValidatorID(ValidatorIDType value) {
this.validatorID = value;
}
/**
* Gets the value of the canonicalizationMethod property.
*
* @return
* possible object is
* {@link CanonicalizationMethodType }
*
*/
public CanonicalizationMethodType getCanonicalizationMethod() {
return canonicalizationMethod;
}
/**
* Sets the value of the canonicalizationMethod property.
*
* @param value
* allowed object is
* {@link CanonicalizationMethodType }
*
*/
public void setCanonicalizationMethod(CanonicalizationMethodType value) {
this.canonicalizationMethod = value;
}
/**
* Gets the value of the signatureMethod property.
*
* @return
* possible object is
* {@link SignatureMethodType }
*
*/
public SignatureMethodType getSignatureMethod() {
return signatureMethod;
}
/**
* Sets the value of the signatureMethod property.
*
* @param value
* allowed object is
* {@link SignatureMethodType }
*
*/
public void setSignatureMethod(SignatureMethodType value) {
this.signatureMethod = value;
}
/**
* Gets the value of the signatoryParty property.
*
* @return
* possible object is
* {@link PartyType }
*
*/
public PartyType getSignatoryParty() {
return signatoryParty;
}
/**
* Sets the value of the signatoryParty property.
*
* @param value
* allowed object is
* {@link PartyType }
*
*/
public void setSignatoryParty(PartyType value) {
this.signatoryParty = value;
}
/**
* Gets the value of the digitalSignatureAttachment property.
*
* @return
* possible object is
* {@link AttachmentType }
*
*/
public AttachmentType getDigitalSignatureAttachment() {
return digitalSignatureAttachment;
}
/**
* Sets the value of the digitalSignatureAttachment property.
*
* @param value
* allowed object is
* {@link AttachmentType }
*
*/
public void setDigitalSignatureAttachment(AttachmentType value) {
this.digitalSignatureAttachment = value;
}
/**
* Gets the value of the originalDocumentReference property.
*
* @return
* possible object is
* {@link DocumentReferenceType }
*
*/
public DocumentReferenceType getOriginalDocumentReference() {
return originalDocumentReference;
}
/**
* Sets the value of the originalDocumentReference property.
*
* @param value
* allowed object is
* {@link DocumentReferenceType }
*
*/
public void setOriginalDocumentReference(DocumentReferenceType value) {
this.originalDocumentReference = value;
}
}