oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.SignatureType Maven / Gradle / Ivy
//
// Este archivo ha sido generado por la arquitectura JavaTM para la implantación de la referencia de enlace (JAXB) XML v2.2.11
// Visite http://java.sun.com/xml/jaxb
// Todas las modificaciones realizadas en este archivo se perderán si se vuelve a compilar el esquema de origen.
// Generado el: 2021.03.22 a las 07:02:09 PM CET
//
package oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2;
import java.io.Serializable;
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 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.ReasonCodeType;
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;
import oasis.names.specification.ubl.schema.xsd.commonextensioncomponents_2.UBLExtensionsType;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
/**
* Clase Java para SignatureType complex type.
*
*
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
*
* <complexType name="SignatureType">
* <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}ID"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ReasonCode" 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}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 = {
"ublExtensions",
"id",
"reasonCode",
"note",
"validationDate",
"validationTime",
"validatorID",
"canonicalizationMethod",
"signatureMethod",
"signatoryParty",
"digitalSignatureAttachment",
"originalDocumentReference"
})
public class SignatureType implements Serializable, Equals2, HashCode2, ToString2
{
private final static long serialVersionUID = 100L;
@XmlElement(name = "UBLExtensions", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2")
protected UBLExtensionsType ublExtensions;
@XmlElement(name = "ID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true)
protected IDType id;
@XmlElement(name = "ReasonCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected ReasonCodeType reasonCode;
@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;
/**
* Obtiene el valor de la propiedad ublExtensions.
*
* @return
* possible object is
* {@link UBLExtensionsType }
*
*/
public UBLExtensionsType getUBLExtensions() {
return ublExtensions;
}
/**
* Define el valor de la propiedad ublExtensions.
*
* @param value
* allowed object is
* {@link UBLExtensionsType }
*
*/
public void setUBLExtensions(UBLExtensionsType value) {
this.ublExtensions = value;
}
/**
* Obtiene el valor de la propiedad id.
*
* @return
* possible object is
* {@link IDType }
*
*/
public IDType getID() {
return id;
}
/**
* Define el valor de la propiedad id.
*
* @param value
* allowed object is
* {@link IDType }
*
*/
public void setID(IDType value) {
this.id = value;
}
/**
* Obtiene el valor de la propiedad reasonCode.
*
* @return
* possible object is
* {@link ReasonCodeType }
*
*/
public ReasonCodeType getReasonCode() {
return reasonCode;
}
/**
* Define el valor de la propiedad reasonCode.
*
* @param value
* allowed object is
* {@link ReasonCodeType }
*
*/
public void setReasonCode(ReasonCodeType value) {
this.reasonCode = 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;
}
/**
* Obtiene el valor de la propiedad validationDate.
*
* @return
* possible object is
* {@link ValidationDateType }
*
*/
public ValidationDateType getValidationDate() {
return validationDate;
}
/**
* Define el valor de la propiedad validationDate.
*
* @param value
* allowed object is
* {@link ValidationDateType }
*
*/
public void setValidationDate(ValidationDateType value) {
this.validationDate = value;
}
/**
* Obtiene el valor de la propiedad validationTime.
*
* @return
* possible object is
* {@link ValidationTimeType }
*
*/
public ValidationTimeType getValidationTime() {
return validationTime;
}
/**
* Define el valor de la propiedad validationTime.
*
* @param value
* allowed object is
* {@link ValidationTimeType }
*
*/
public void setValidationTime(ValidationTimeType value) {
this.validationTime = value;
}
/**
* Obtiene el valor de la propiedad validatorID.
*
* @return
* possible object is
* {@link ValidatorIDType }
*
*/
public ValidatorIDType getValidatorID() {
return validatorID;
}
/**
* Define el valor de la propiedad validatorID.
*
* @param value
* allowed object is
* {@link ValidatorIDType }
*
*/
public void setValidatorID(ValidatorIDType value) {
this.validatorID = value;
}
/**
* Obtiene el valor de la propiedad canonicalizationMethod.
*
* @return
* possible object is
* {@link CanonicalizationMethodType }
*
*/
public CanonicalizationMethodType getCanonicalizationMethod() {
return canonicalizationMethod;
}
/**
* Define el valor de la propiedad canonicalizationMethod.
*
* @param value
* allowed object is
* {@link CanonicalizationMethodType }
*
*/
public void setCanonicalizationMethod(CanonicalizationMethodType value) {
this.canonicalizationMethod = value;
}
/**
* Obtiene el valor de la propiedad signatureMethod.
*
* @return
* possible object is
* {@link SignatureMethodType }
*
*/
public SignatureMethodType getSignatureMethod() {
return signatureMethod;
}
/**
* Define el valor de la propiedad signatureMethod.
*
* @param value
* allowed object is
* {@link SignatureMethodType }
*
*/
public void setSignatureMethod(SignatureMethodType value) {
this.signatureMethod = value;
}
/**
* Obtiene el valor de la propiedad signatoryParty.
*
* @return
* possible object is
* {@link PartyType }
*
*/
public PartyType getSignatoryParty() {
return signatoryParty;
}
/**
* Define el valor de la propiedad signatoryParty.
*
* @param value
* allowed object is
* {@link PartyType }
*
*/
public void setSignatoryParty(PartyType value) {
this.signatoryParty = value;
}
/**
* Obtiene el valor de la propiedad digitalSignatureAttachment.
*
* @return
* possible object is
* {@link AttachmentType }
*
*/
public AttachmentType getDigitalSignatureAttachment() {
return digitalSignatureAttachment;
}
/**
* Define el valor de la propiedad digitalSignatureAttachment.
*
* @param value
* allowed object is
* {@link AttachmentType }
*
*/
public void setDigitalSignatureAttachment(AttachmentType value) {
this.digitalSignatureAttachment = value;
}
/**
* Obtiene el valor de la propiedad originalDocumentReference.
*
* @return
* possible object is
* {@link DocumentReferenceType }
*
*/
public DocumentReferenceType getOriginalDocumentReference() {
return originalDocumentReference;
}
/**
* Define el valor de la propiedad originalDocumentReference.
*
* @param value
* allowed object is
* {@link DocumentReferenceType }
*
*/
public void setOriginalDocumentReference(DocumentReferenceType value) {
this.originalDocumentReference = value;
}
public String toString() {
final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
{
UBLExtensionsType theUBLExtensions;
theUBLExtensions = this.getUBLExtensions();
strategy.appendField(locator, this, "ublExtensions", buffer, theUBLExtensions, (this.ublExtensions!= null));
}
{
IDType theID;
theID = this.getID();
strategy.appendField(locator, this, "id", buffer, theID, (this.id!= null));
}
{
ReasonCodeType theReasonCode;
theReasonCode = this.getReasonCode();
strategy.appendField(locator, this, "reasonCode", buffer, theReasonCode, (this.reasonCode!= null));
}
{
List theNote;
theNote = (((this.note!= null)&&(!this.note.isEmpty()))?this.getNote():null);
strategy.appendField(locator, this, "note", buffer, theNote, ((this.note!= null)&&(!this.note.isEmpty())));
}
{
ValidationDateType theValidationDate;
theValidationDate = this.getValidationDate();
strategy.appendField(locator, this, "validationDate", buffer, theValidationDate, (this.validationDate!= null));
}
{
ValidationTimeType theValidationTime;
theValidationTime = this.getValidationTime();
strategy.appendField(locator, this, "validationTime", buffer, theValidationTime, (this.validationTime!= null));
}
{
ValidatorIDType theValidatorID;
theValidatorID = this.getValidatorID();
strategy.appendField(locator, this, "validatorID", buffer, theValidatorID, (this.validatorID!= null));
}
{
CanonicalizationMethodType theCanonicalizationMethod;
theCanonicalizationMethod = this.getCanonicalizationMethod();
strategy.appendField(locator, this, "canonicalizationMethod", buffer, theCanonicalizationMethod, (this.canonicalizationMethod!= null));
}
{
SignatureMethodType theSignatureMethod;
theSignatureMethod = this.getSignatureMethod();
strategy.appendField(locator, this, "signatureMethod", buffer, theSignatureMethod, (this.signatureMethod!= null));
}
{
PartyType theSignatoryParty;
theSignatoryParty = this.getSignatoryParty();
strategy.appendField(locator, this, "signatoryParty", buffer, theSignatoryParty, (this.signatoryParty!= null));
}
{
AttachmentType theDigitalSignatureAttachment;
theDigitalSignatureAttachment = this.getDigitalSignatureAttachment();
strategy.appendField(locator, this, "digitalSignatureAttachment", buffer, theDigitalSignatureAttachment, (this.digitalSignatureAttachment!= null));
}
{
DocumentReferenceType theOriginalDocumentReference;
theOriginalDocumentReference = this.getOriginalDocumentReference();
strategy.appendField(locator, this, "originalDocumentReference", buffer, theOriginalDocumentReference, (this.originalDocumentReference!= null));
}
return buffer;
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) {
if ((object == null)||(this.getClass()!= object.getClass())) {
return false;
}
if (this == object) {
return true;
}
final SignatureType that = ((SignatureType) object);
{
UBLExtensionsType lhsUBLExtensions;
lhsUBLExtensions = this.getUBLExtensions();
UBLExtensionsType rhsUBLExtensions;
rhsUBLExtensions = that.getUBLExtensions();
if (!strategy.equals(LocatorUtils.property(thisLocator, "ublExtensions", lhsUBLExtensions), LocatorUtils.property(thatLocator, "ublExtensions", rhsUBLExtensions), lhsUBLExtensions, rhsUBLExtensions, (this.ublExtensions!= null), (that.ublExtensions!= null))) {
return false;
}
}
{
IDType lhsID;
lhsID = this.getID();
IDType rhsID;
rhsID = that.getID();
if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsID), LocatorUtils.property(thatLocator, "id", rhsID), lhsID, rhsID, (this.id!= null), (that.id!= null))) {
return false;
}
}
{
ReasonCodeType lhsReasonCode;
lhsReasonCode = this.getReasonCode();
ReasonCodeType rhsReasonCode;
rhsReasonCode = that.getReasonCode();
if (!strategy.equals(LocatorUtils.property(thisLocator, "reasonCode", lhsReasonCode), LocatorUtils.property(thatLocator, "reasonCode", rhsReasonCode), lhsReasonCode, rhsReasonCode, (this.reasonCode!= null), (that.reasonCode!= null))) {
return false;
}
}
{
List lhsNote;
lhsNote = (((this.note!= null)&&(!this.note.isEmpty()))?this.getNote():null);
List rhsNote;
rhsNote = (((that.note!= null)&&(!that.note.isEmpty()))?that.getNote():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "note", lhsNote), LocatorUtils.property(thatLocator, "note", rhsNote), lhsNote, rhsNote, ((this.note!= null)&&(!this.note.isEmpty())), ((that.note!= null)&&(!that.note.isEmpty())))) {
return false;
}
}
{
ValidationDateType lhsValidationDate;
lhsValidationDate = this.getValidationDate();
ValidationDateType rhsValidationDate;
rhsValidationDate = that.getValidationDate();
if (!strategy.equals(LocatorUtils.property(thisLocator, "validationDate", lhsValidationDate), LocatorUtils.property(thatLocator, "validationDate", rhsValidationDate), lhsValidationDate, rhsValidationDate, (this.validationDate!= null), (that.validationDate!= null))) {
return false;
}
}
{
ValidationTimeType lhsValidationTime;
lhsValidationTime = this.getValidationTime();
ValidationTimeType rhsValidationTime;
rhsValidationTime = that.getValidationTime();
if (!strategy.equals(LocatorUtils.property(thisLocator, "validationTime", lhsValidationTime), LocatorUtils.property(thatLocator, "validationTime", rhsValidationTime), lhsValidationTime, rhsValidationTime, (this.validationTime!= null), (that.validationTime!= null))) {
return false;
}
}
{
ValidatorIDType lhsValidatorID;
lhsValidatorID = this.getValidatorID();
ValidatorIDType rhsValidatorID;
rhsValidatorID = that.getValidatorID();
if (!strategy.equals(LocatorUtils.property(thisLocator, "validatorID", lhsValidatorID), LocatorUtils.property(thatLocator, "validatorID", rhsValidatorID), lhsValidatorID, rhsValidatorID, (this.validatorID!= null), (that.validatorID!= null))) {
return false;
}
}
{
CanonicalizationMethodType lhsCanonicalizationMethod;
lhsCanonicalizationMethod = this.getCanonicalizationMethod();
CanonicalizationMethodType rhsCanonicalizationMethod;
rhsCanonicalizationMethod = that.getCanonicalizationMethod();
if (!strategy.equals(LocatorUtils.property(thisLocator, "canonicalizationMethod", lhsCanonicalizationMethod), LocatorUtils.property(thatLocator, "canonicalizationMethod", rhsCanonicalizationMethod), lhsCanonicalizationMethod, rhsCanonicalizationMethod, (this.canonicalizationMethod!= null), (that.canonicalizationMethod!= null))) {
return false;
}
}
{
SignatureMethodType lhsSignatureMethod;
lhsSignatureMethod = this.getSignatureMethod();
SignatureMethodType rhsSignatureMethod;
rhsSignatureMethod = that.getSignatureMethod();
if (!strategy.equals(LocatorUtils.property(thisLocator, "signatureMethod", lhsSignatureMethod), LocatorUtils.property(thatLocator, "signatureMethod", rhsSignatureMethod), lhsSignatureMethod, rhsSignatureMethod, (this.signatureMethod!= null), (that.signatureMethod!= null))) {
return false;
}
}
{
PartyType lhsSignatoryParty;
lhsSignatoryParty = this.getSignatoryParty();
PartyType rhsSignatoryParty;
rhsSignatoryParty = that.getSignatoryParty();
if (!strategy.equals(LocatorUtils.property(thisLocator, "signatoryParty", lhsSignatoryParty), LocatorUtils.property(thatLocator, "signatoryParty", rhsSignatoryParty), lhsSignatoryParty, rhsSignatoryParty, (this.signatoryParty!= null), (that.signatoryParty!= null))) {
return false;
}
}
{
AttachmentType lhsDigitalSignatureAttachment;
lhsDigitalSignatureAttachment = this.getDigitalSignatureAttachment();
AttachmentType rhsDigitalSignatureAttachment;
rhsDigitalSignatureAttachment = that.getDigitalSignatureAttachment();
if (!strategy.equals(LocatorUtils.property(thisLocator, "digitalSignatureAttachment", lhsDigitalSignatureAttachment), LocatorUtils.property(thatLocator, "digitalSignatureAttachment", rhsDigitalSignatureAttachment), lhsDigitalSignatureAttachment, rhsDigitalSignatureAttachment, (this.digitalSignatureAttachment!= null), (that.digitalSignatureAttachment!= null))) {
return false;
}
}
{
DocumentReferenceType lhsOriginalDocumentReference;
lhsOriginalDocumentReference = this.getOriginalDocumentReference();
DocumentReferenceType rhsOriginalDocumentReference;
rhsOriginalDocumentReference = that.getOriginalDocumentReference();
if (!strategy.equals(LocatorUtils.property(thisLocator, "originalDocumentReference", lhsOriginalDocumentReference), LocatorUtils.property(thatLocator, "originalDocumentReference", rhsOriginalDocumentReference), lhsOriginalDocumentReference, rhsOriginalDocumentReference, (this.originalDocumentReference!= null), (that.originalDocumentReference!= null))) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) {
int currentHashCode = 1;
{
UBLExtensionsType theUBLExtensions;
theUBLExtensions = this.getUBLExtensions();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "ublExtensions", theUBLExtensions), currentHashCode, theUBLExtensions, (this.ublExtensions!= null));
}
{
IDType theID;
theID = this.getID();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theID), currentHashCode, theID, (this.id!= null));
}
{
ReasonCodeType theReasonCode;
theReasonCode = this.getReasonCode();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "reasonCode", theReasonCode), currentHashCode, theReasonCode, (this.reasonCode!= null));
}
{
List theNote;
theNote = (((this.note!= null)&&(!this.note.isEmpty()))?this.getNote():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "note", theNote), currentHashCode, theNote, ((this.note!= null)&&(!this.note.isEmpty())));
}
{
ValidationDateType theValidationDate;
theValidationDate = this.getValidationDate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "validationDate", theValidationDate), currentHashCode, theValidationDate, (this.validationDate!= null));
}
{
ValidationTimeType theValidationTime;
theValidationTime = this.getValidationTime();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "validationTime", theValidationTime), currentHashCode, theValidationTime, (this.validationTime!= null));
}
{
ValidatorIDType theValidatorID;
theValidatorID = this.getValidatorID();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "validatorID", theValidatorID), currentHashCode, theValidatorID, (this.validatorID!= null));
}
{
CanonicalizationMethodType theCanonicalizationMethod;
theCanonicalizationMethod = this.getCanonicalizationMethod();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "canonicalizationMethod", theCanonicalizationMethod), currentHashCode, theCanonicalizationMethod, (this.canonicalizationMethod!= null));
}
{
SignatureMethodType theSignatureMethod;
theSignatureMethod = this.getSignatureMethod();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "signatureMethod", theSignatureMethod), currentHashCode, theSignatureMethod, (this.signatureMethod!= null));
}
{
PartyType theSignatoryParty;
theSignatoryParty = this.getSignatoryParty();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "signatoryParty", theSignatoryParty), currentHashCode, theSignatoryParty, (this.signatoryParty!= null));
}
{
AttachmentType theDigitalSignatureAttachment;
theDigitalSignatureAttachment = this.getDigitalSignatureAttachment();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "digitalSignatureAttachment", theDigitalSignatureAttachment), currentHashCode, theDigitalSignatureAttachment, (this.digitalSignatureAttachment!= null));
}
{
DocumentReferenceType theOriginalDocumentReference;
theOriginalDocumentReference = this.getOriginalDocumentReference();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "originalDocumentReference", theOriginalDocumentReference), currentHashCode, theOriginalDocumentReference, (this.originalDocumentReference!= null));
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
}