oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.SignatureType Maven / Gradle / Ivy
package oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2;
import java.io.Serializable;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
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 javax.xml.datatype.XMLGregorianCalendar;
import com.phloc.commons.equals.EqualsUtils;
import com.phloc.commons.hash.HashCodeGenerator;
import com.phloc.commons.string.ToStringGenerator;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CanonicalizationMethodType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.NoteType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.SignatureMethodType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ValidationDateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ValidationTimeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ValidatorIDType;
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Signature. Details</ccts:DictionaryEntryName><ccts:Definition>Information about signature. A placeholder for signature.</ccts:Definition><ccts:ObjectClass>Signature</ccts:ObjectClass></ccts:Component>
*
*
*
* 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" 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"/>
* <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"
})
public class SignatureType implements Serializable
{
@XmlElement(name = "ID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true)
private IDType id;
@XmlElement(name = "Note", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private NoteType note;
@XmlElement(name = "ValidationDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private ValidationDateType validationDate;
@XmlElement(name = "ValidationTime", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private ValidationTimeType validationTime;
@XmlElement(name = "ValidatorID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private ValidatorIDType validatorID;
@XmlElement(name = "CanonicalizationMethod", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private CanonicalizationMethodType canonicalizationMethod;
@XmlElement(name = "SignatureMethod", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private SignatureMethodType signatureMethod;
@XmlElement(name = "SignatoryParty", required = true)
private PartyType signatoryParty;
@XmlElement(name = "DigitalSignatureAttachment")
private AttachmentType digitalSignatureAttachment;
@XmlElement(name = "OriginalDocumentReference")
private DocumentReferenceType originalDocumentReference;
/**
* Default constructor
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
*/
public SignatureType() {
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Signature. Identifier</ccts:DictionaryEntryName><ccts:Definition>An identifier for the Signature.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Signature</ccts:ObjectClass><ccts:PropertyTerm>Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link IDType }
*
*/
@Nullable
public IDType getID() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link IDType }
*
*/
public void setID(
@Nullable
IDType value) {
this.id = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Signature. Note. Text</ccts:DictionaryEntryName><ccts:Definition>Free form text about the signature or the circumstances where the signature has been used.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Signature</ccts:ObjectClass><ccts:PropertyTerm>Note</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link NoteType }
*
*/
@Nullable
public NoteType getNote() {
return note;
}
/**
* Sets the value of the note property.
*
* @param value
* allowed object is
* {@link NoteType }
*
*/
public void setNote(
@Nullable
NoteType value) {
this.note = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Signature. Validation Date. Date</ccts:DictionaryEntryName><ccts:Definition>Specifies the date when the signature was approved.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Signature</ccts:ObjectClass><ccts:PropertyTerm>Validation Date</ccts:PropertyTerm><ccts:RepresentationTerm>Date</ccts:RepresentationTerm><ccts:DataType>Date. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link ValidationDateType }
*
*/
@Nullable
public ValidationDateType getValidationDate() {
return validationDate;
}
/**
* Sets the value of the validationDate property.
*
* @param value
* allowed object is
* {@link ValidationDateType }
*
*/
public void setValidationDate(
@Nullable
ValidationDateType value) {
this.validationDate = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Signature. Validation Time. Time</ccts:DictionaryEntryName><ccts:Definition>Specifies the time when the signature was approved.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Signature</ccts:ObjectClass><ccts:PropertyTerm>Validation Time</ccts:PropertyTerm><ccts:RepresentationTerm>Time</ccts:RepresentationTerm><ccts:DataType>Time. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link ValidationTimeType }
*
*/
@Nullable
public ValidationTimeType getValidationTime() {
return validationTime;
}
/**
* Sets the value of the validationTime property.
*
* @param value
* allowed object is
* {@link ValidationTimeType }
*
*/
public void setValidationTime(
@Nullable
ValidationTimeType value) {
this.validationTime = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Signature. Validator Identifier. Identifier</ccts:DictionaryEntryName><ccts:Definition>Identifies the organization, person, service or server that has validated the signature.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Signature</ccts:ObjectClass><ccts:PropertyTerm>Validator Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link ValidatorIDType }
*
*/
@Nullable
public ValidatorIDType getValidatorID() {
return validatorID;
}
/**
* Sets the value of the validatorID property.
*
* @param value
* allowed object is
* {@link ValidatorIDType }
*
*/
public void setValidatorID(
@Nullable
ValidatorIDType value) {
this.validatorID = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Signature. Canonicalization Method. Text</ccts:DictionaryEntryName><ccts:Definition>The mathematical logic method used by the Signature.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Signature</ccts:ObjectClass><ccts:PropertyTerm>Canonicalization Method</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link CanonicalizationMethodType }
*
*/
@Nullable
public CanonicalizationMethodType getCanonicalizationMethod() {
return canonicalizationMethod;
}
/**
* Sets the value of the canonicalizationMethod property.
*
* @param value
* allowed object is
* {@link CanonicalizationMethodType }
*
*/
public void setCanonicalizationMethod(
@Nullable
CanonicalizationMethodType value) {
this.canonicalizationMethod = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Signature. Signature Method. Text</ccts:DictionaryEntryName><ccts:Definition>The method of signature.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Signature</ccts:ObjectClass><ccts:PropertyTerm>Signature Method</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link SignatureMethodType }
*
*/
@Nullable
public SignatureMethodType getSignatureMethod() {
return signatureMethod;
}
/**
* Sets the value of the signatureMethod property.
*
* @param value
* allowed object is
* {@link SignatureMethodType }
*
*/
public void setSignatureMethod(
@Nullable
SignatureMethodType value) {
this.signatureMethod = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Signature. Signatory_ Party. Party</ccts:DictionaryEntryName><ccts:Definition>An association to the signing Party.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Signature</ccts:ObjectClass><ccts:PropertyTermQualifier>Signatory</ccts:PropertyTermQualifier><ccts:PropertyTerm>Party</ccts:PropertyTerm><ccts:AssociatedObjectClass>Party</ccts:AssociatedObjectClass></ccts:Component>
*
*
*
* @return
* possible object is
* {@link PartyType }
*
*/
@Nullable
public PartyType getSignatoryParty() {
return signatoryParty;
}
/**
* Sets the value of the signatoryParty property.
*
* @param value
* allowed object is
* {@link PartyType }
*
*/
public void setSignatoryParty(
@Nullable
PartyType value) {
this.signatoryParty = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Signature. Digital Signature_ Attachment. Attachment</ccts:DictionaryEntryName><ccts:Definition>Refers to the actual encoded signature (e.g., in XMLDSIG format).</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Signature</ccts:ObjectClass><ccts:PropertyTermQualifier>Digital Signature</ccts:PropertyTermQualifier><ccts:PropertyTerm>Attachment</ccts:PropertyTerm><ccts:AssociatedObjectClass>Attachment</ccts:AssociatedObjectClass></ccts:Component>
*
*
*
* @return
* possible object is
* {@link AttachmentType }
*
*/
@Nullable
public AttachmentType getDigitalSignatureAttachment() {
return digitalSignatureAttachment;
}
/**
* Sets the value of the digitalSignatureAttachment property.
*
* @param value
* allowed object is
* {@link AttachmentType }
*
*/
public void setDigitalSignatureAttachment(
@Nullable
AttachmentType value) {
this.digitalSignatureAttachment = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Signature. Original_ Document Reference. Document Reference</ccts:DictionaryEntryName><ccts:Definition>A reference to the actual document that the signature applies to. For evidentiary purposes, this may be the document image that the signatory party saw when applying their signature.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Signature</ccts:ObjectClass><ccts:PropertyTermQualifier>Original</ccts:PropertyTermQualifier><ccts:PropertyTerm>Document Reference</ccts:PropertyTerm><ccts:AssociatedObjectClass>Document Reference</ccts:AssociatedObjectClass></ccts:Component>
*
*
*
* @return
* possible object is
* {@link DocumentReferenceType }
*
*/
@Nullable
public DocumentReferenceType getOriginalDocumentReference() {
return originalDocumentReference;
}
/**
* Sets the value of the originalDocumentReference property.
*
* @param value
* allowed object is
* {@link DocumentReferenceType }
*
*/
public void setOriginalDocumentReference(
@Nullable
DocumentReferenceType value) {
this.originalDocumentReference = value;
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-equalshashcode
*
*/
@Override
public boolean equals(final Object o) {
if (o == this) {
return true;
}
if ((o == null)||(!getClass().equals(o.getClass()))) {
return false;
}
final SignatureType rhs = ((SignatureType) o);
if (!EqualsUtils.equals(id, rhs.id)) {
return false;
}
if (!EqualsUtils.equals(note, rhs.note)) {
return false;
}
if (!EqualsUtils.equals(validationDate, rhs.validationDate)) {
return false;
}
if (!EqualsUtils.equals(validationTime, rhs.validationTime)) {
return false;
}
if (!EqualsUtils.equals(validatorID, rhs.validatorID)) {
return false;
}
if (!EqualsUtils.equals(canonicalizationMethod, rhs.canonicalizationMethod)) {
return false;
}
if (!EqualsUtils.equals(signatureMethod, rhs.signatureMethod)) {
return false;
}
if (!EqualsUtils.equals(signatoryParty, rhs.signatoryParty)) {
return false;
}
if (!EqualsUtils.equals(digitalSignatureAttachment, rhs.digitalSignatureAttachment)) {
return false;
}
if (!EqualsUtils.equals(originalDocumentReference, rhs.originalDocumentReference)) {
return false;
}
return true;
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-equalshashcode
*
*/
@Override
public int hashCode() {
return new HashCodeGenerator(this).append(id).append(note).append(validationDate).append(validationTime).append(validatorID).append(canonicalizationMethod).append(signatureMethod).append(signatoryParty).append(digitalSignatureAttachment).append(originalDocumentReference).getHashCode();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-tostring
*
*/
@Override
public String toString() {
return new ToStringGenerator(this).append("id", id).append("note", note).append("validationDate", validationDate).append("validationTime", validationTime).append("validatorID", validatorID).append("canonicalizationMethod", canonicalizationMethod).append("signatureMethod", signatureMethod).append("signatoryParty", signatoryParty).append("digitalSignatureAttachment", digitalSignatureAttachment).append("originalDocumentReference", originalDocumentReference).toString();
}
/**
* Special setter with value of type XMLGregorianCalendar
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param valueParam
* The value to be set. May be null
.
* @return
* The created intermediary object of type ValidationTimeType and never null
*/
@Nonnull
public ValidationTimeType setValidationTime(
@Nullable
final XMLGregorianCalendar valueParam) {
ValidationTimeType aObj = getValidationTime();
if (aObj == null) {
aObj = new ValidationTimeType(valueParam);
setValidationTime(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type XMLGregorianCalendar
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param valueParam
* The value to be set. May be null
.
* @return
* The created intermediary object of type ValidationDateType and never null
*/
@Nonnull
public ValidationDateType setValidationDate(
@Nullable
final XMLGregorianCalendar valueParam) {
ValidationDateType aObj = getValidationDate();
if (aObj == null) {
aObj = new ValidationDateType(valueParam);
setValidationDate(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type String
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param valueParam
* The value to be set. May be null
.
* @return
* The created intermediary object of type NoteType and never null
*/
@Nonnull
public NoteType setNote(
@Nullable
final String valueParam) {
NoteType aObj = getNote();
if (aObj == null) {
aObj = new NoteType(valueParam);
setNote(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type String
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param valueParam
* The value to be set. May be null
.
* @return
* The created intermediary object of type CanonicalizationMethodType and never null
*/
@Nonnull
public CanonicalizationMethodType setCanonicalizationMethod(
@Nullable
final String valueParam) {
CanonicalizationMethodType aObj = getCanonicalizationMethod();
if (aObj == null) {
aObj = new CanonicalizationMethodType(valueParam);
setCanonicalizationMethod(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type String
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param valueParam
* The value to be set. May be null
.
* @return
* The created intermediary object of type SignatureMethodType and never null
*/
@Nonnull
public SignatureMethodType setSignatureMethod(
@Nullable
final String valueParam) {
SignatureMethodType aObj = getSignatureMethod();
if (aObj == null) {
aObj = new SignatureMethodType(valueParam);
setSignatureMethod(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type String
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param valueParam
* The value to be set. May be null
.
* @return
* The created intermediary object of type IDType and never null
*/
@Nonnull
public IDType setID(
@Nullable
final String valueParam) {
IDType aObj = getID();
if (aObj == null) {
aObj = new IDType(valueParam);
setID(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type String
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param valueParam
* The value to be set. May be null
.
* @return
* The created intermediary object of type ValidatorIDType and never null
*/
@Nonnull
public ValidatorIDType setValidatorID(
@Nullable
final String valueParam) {
ValidatorIDType aObj = getValidatorID();
if (aObj == null) {
aObj = new ValidatorIDType(valueParam);
setValidatorID(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Get the value of the contained IDType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained IDType object or null
*/
@Nullable
public String getIDValue() {
IDType aObj = getID();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained NoteType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained NoteType object or null
*/
@Nullable
public String getNoteValue() {
NoteType aObj = getNote();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained ValidationDateType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained ValidationDateType object or null
*/
@Nullable
public XMLGregorianCalendar getValidationDateValue() {
ValidationDateType aObj = getValidationDate();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained ValidationTimeType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained ValidationTimeType object or null
*/
@Nullable
public XMLGregorianCalendar getValidationTimeValue() {
ValidationTimeType aObj = getValidationTime();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained ValidatorIDType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained ValidatorIDType object or null
*/
@Nullable
public String getValidatorIDValue() {
ValidatorIDType aObj = getValidatorID();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained CanonicalizationMethodType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained CanonicalizationMethodType object or null
*/
@Nullable
public String getCanonicalizationMethodValue() {
CanonicalizationMethodType aObj = getCanonicalizationMethod();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained SignatureMethodType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained SignatureMethodType object or null
*/
@Nullable
public String getSignatureMethodValue() {
SignatureMethodType aObj = getSignatureMethod();
return ((aObj == null)?null:aObj.getValue());
}
}