All Downloads are FREE. Search and download functionalities are using the official Maven repository.

oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.DocumentReferenceType 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.CopyIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DocumentDescriptionType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DocumentStatusCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DocumentTypeCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DocumentTypeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IssueDateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IssueTimeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LanguageIDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LocaleCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ReferencedDocumentInternalAddressType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.UUIDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.VersionIDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.XPathType;
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 DocumentReferenceType complex type. * *

El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase. * *

 * <complexType name="DocumentReferenceType">
 *   <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}CopyIndicator" minOccurs="0"/>
 *         <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}DocumentTypeCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}DocumentType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}XPath" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ReferencedDocumentInternalAddress" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LanguageID" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LocaleCode" 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}DocumentStatusCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}DocumentDescription" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Attachment" 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}IssuerParty" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ResultOfVerification" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DocumentReferenceType", propOrder = { "ublExtensions", "id", "copyIndicator", "uuid", "issueDate", "issueTime", "documentTypeCode", "documentType", "xPath", "referencedDocumentInternalAddress", "languageID", "localeCode", "versionID", "documentStatusCode", "documentDescription", "attachment", "validityPeriod", "issuerParty", "resultOfVerification" }) public class DocumentReferenceType 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 = "CopyIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected CopyIndicatorType copyIndicator; @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 = "DocumentTypeCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected DocumentTypeCodeType documentTypeCode; @XmlElement(name = "DocumentType", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected List documentType; @XmlElement(name = "XPath", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected List xPath; @XmlElement(name = "ReferencedDocumentInternalAddress", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected ReferencedDocumentInternalAddressType referencedDocumentInternalAddress; @XmlElement(name = "LanguageID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected LanguageIDType languageID; @XmlElement(name = "LocaleCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected LocaleCodeType localeCode; @XmlElement(name = "VersionID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected VersionIDType versionID; @XmlElement(name = "DocumentStatusCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected DocumentStatusCodeType documentStatusCode; @XmlElement(name = "DocumentDescription", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected List documentDescription; @XmlElement(name = "Attachment") protected AttachmentType attachment; @XmlElement(name = "ValidityPeriod") protected PeriodType validityPeriod; @XmlElement(name = "IssuerParty") protected PartyType issuerParty; @XmlElement(name = "ResultOfVerification") protected ResultOfVerificationType resultOfVerification; /** * 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 copyIndicator. * * @return * possible object is * {@link CopyIndicatorType } * */ public CopyIndicatorType getCopyIndicator() { return copyIndicator; } /** * Define el valor de la propiedad copyIndicator. * * @param value * allowed object is * {@link CopyIndicatorType } * */ public void setCopyIndicator(CopyIndicatorType value) { this.copyIndicator = value; } /** * Obtiene el valor de la propiedad uuid. * * @return * possible object is * {@link UUIDType } * */ public UUIDType getUUID() { return uuid; } /** * Define el valor de la propiedad uuid. * * @param value * allowed object is * {@link UUIDType } * */ public void setUUID(UUIDType value) { this.uuid = value; } /** * Obtiene el valor de la propiedad issueDate. * * @return * possible object is * {@link IssueDateType } * */ public IssueDateType getIssueDate() { return issueDate; } /** * Define el valor de la propiedad issueDate. * * @param value * allowed object is * {@link IssueDateType } * */ public void setIssueDate(IssueDateType value) { this.issueDate = value; } /** * Obtiene el valor de la propiedad issueTime. * * @return * possible object is * {@link IssueTimeType } * */ public IssueTimeType getIssueTime() { return issueTime; } /** * Define el valor de la propiedad issueTime. * * @param value * allowed object is * {@link IssueTimeType } * */ public void setIssueTime(IssueTimeType value) { this.issueTime = value; } /** * Obtiene el valor de la propiedad documentTypeCode. * * @return * possible object is * {@link DocumentTypeCodeType } * */ public DocumentTypeCodeType getDocumentTypeCode() { return documentTypeCode; } /** * Define el valor de la propiedad documentTypeCode. * * @param value * allowed object is * {@link DocumentTypeCodeType } * */ public void setDocumentTypeCode(DocumentTypeCodeType value) { this.documentTypeCode = value; } /** * Gets the value of the documentType 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 documentType property. * *

* For example, to add a new item, do as follows: *

     *    getDocumentType().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DocumentTypeType } * * */ public List getDocumentType() { if (documentType == null) { documentType = new ArrayList(); } return this.documentType; } /** * Gets the value of the xPath 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 xPath property. * *

* For example, to add a new item, do as follows: *

     *    getXPath().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link XPathType } * * */ public List getXPath() { if (xPath == null) { xPath = new ArrayList(); } return this.xPath; } /** * Obtiene el valor de la propiedad referencedDocumentInternalAddress. * * @return * possible object is * {@link ReferencedDocumentInternalAddressType } * */ public ReferencedDocumentInternalAddressType getReferencedDocumentInternalAddress() { return referencedDocumentInternalAddress; } /** * Define el valor de la propiedad referencedDocumentInternalAddress. * * @param value * allowed object is * {@link ReferencedDocumentInternalAddressType } * */ public void setReferencedDocumentInternalAddress(ReferencedDocumentInternalAddressType value) { this.referencedDocumentInternalAddress = value; } /** * Obtiene el valor de la propiedad languageID. * * @return * possible object is * {@link LanguageIDType } * */ public LanguageIDType getLanguageID() { return languageID; } /** * Define el valor de la propiedad languageID. * * @param value * allowed object is * {@link LanguageIDType } * */ public void setLanguageID(LanguageIDType value) { this.languageID = value; } /** * Obtiene el valor de la propiedad localeCode. * * @return * possible object is * {@link LocaleCodeType } * */ public LocaleCodeType getLocaleCode() { return localeCode; } /** * Define el valor de la propiedad localeCode. * * @param value * allowed object is * {@link LocaleCodeType } * */ public void setLocaleCode(LocaleCodeType value) { this.localeCode = value; } /** * Obtiene el valor de la propiedad versionID. * * @return * possible object is * {@link VersionIDType } * */ public VersionIDType getVersionID() { return versionID; } /** * Define el valor de la propiedad versionID. * * @param value * allowed object is * {@link VersionIDType } * */ public void setVersionID(VersionIDType value) { this.versionID = value; } /** * Obtiene el valor de la propiedad documentStatusCode. * * @return * possible object is * {@link DocumentStatusCodeType } * */ public DocumentStatusCodeType getDocumentStatusCode() { return documentStatusCode; } /** * Define el valor de la propiedad documentStatusCode. * * @param value * allowed object is * {@link DocumentStatusCodeType } * */ public void setDocumentStatusCode(DocumentStatusCodeType value) { this.documentStatusCode = value; } /** * Gets the value of the documentDescription 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 documentDescription property. * *

* For example, to add a new item, do as follows: *

     *    getDocumentDescription().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DocumentDescriptionType } * * */ public List getDocumentDescription() { if (documentDescription == null) { documentDescription = new ArrayList(); } return this.documentDescription; } /** * Obtiene el valor de la propiedad attachment. * * @return * possible object is * {@link AttachmentType } * */ public AttachmentType getAttachment() { return attachment; } /** * Define el valor de la propiedad attachment. * * @param value * allowed object is * {@link AttachmentType } * */ public void setAttachment(AttachmentType value) { this.attachment = value; } /** * Obtiene el valor de la propiedad validityPeriod. * * @return * possible object is * {@link PeriodType } * */ public PeriodType getValidityPeriod() { return validityPeriod; } /** * Define el valor de la propiedad validityPeriod. * * @param value * allowed object is * {@link PeriodType } * */ public void setValidityPeriod(PeriodType value) { this.validityPeriod = value; } /** * Obtiene el valor de la propiedad issuerParty. * * @return * possible object is * {@link PartyType } * */ public PartyType getIssuerParty() { return issuerParty; } /** * Define el valor de la propiedad issuerParty. * * @param value * allowed object is * {@link PartyType } * */ public void setIssuerParty(PartyType value) { this.issuerParty = value; } /** * Obtiene el valor de la propiedad resultOfVerification. * * @return * possible object is * {@link ResultOfVerificationType } * */ public ResultOfVerificationType getResultOfVerification() { return resultOfVerification; } /** * Define el valor de la propiedad resultOfVerification. * * @param value * allowed object is * {@link ResultOfVerificationType } * */ public void setResultOfVerification(ResultOfVerificationType value) { this.resultOfVerification = 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)); } { CopyIndicatorType theCopyIndicator; theCopyIndicator = this.getCopyIndicator(); strategy.appendField(locator, this, "copyIndicator", buffer, theCopyIndicator, (this.copyIndicator!= null)); } { UUIDType theUUID; theUUID = this.getUUID(); strategy.appendField(locator, this, "uuid", buffer, theUUID, (this.uuid!= null)); } { IssueDateType theIssueDate; theIssueDate = this.getIssueDate(); strategy.appendField(locator, this, "issueDate", buffer, theIssueDate, (this.issueDate!= null)); } { IssueTimeType theIssueTime; theIssueTime = this.getIssueTime(); strategy.appendField(locator, this, "issueTime", buffer, theIssueTime, (this.issueTime!= null)); } { DocumentTypeCodeType theDocumentTypeCode; theDocumentTypeCode = this.getDocumentTypeCode(); strategy.appendField(locator, this, "documentTypeCode", buffer, theDocumentTypeCode, (this.documentTypeCode!= null)); } { List theDocumentType; theDocumentType = (((this.documentType!= null)&&(!this.documentType.isEmpty()))?this.getDocumentType():null); strategy.appendField(locator, this, "documentType", buffer, theDocumentType, ((this.documentType!= null)&&(!this.documentType.isEmpty()))); } { List theXPath; theXPath = (((this.xPath!= null)&&(!this.xPath.isEmpty()))?this.getXPath():null); strategy.appendField(locator, this, "xPath", buffer, theXPath, ((this.xPath!= null)&&(!this.xPath.isEmpty()))); } { ReferencedDocumentInternalAddressType theReferencedDocumentInternalAddress; theReferencedDocumentInternalAddress = this.getReferencedDocumentInternalAddress(); strategy.appendField(locator, this, "referencedDocumentInternalAddress", buffer, theReferencedDocumentInternalAddress, (this.referencedDocumentInternalAddress!= null)); } { LanguageIDType theLanguageID; theLanguageID = this.getLanguageID(); strategy.appendField(locator, this, "languageID", buffer, theLanguageID, (this.languageID!= null)); } { LocaleCodeType theLocaleCode; theLocaleCode = this.getLocaleCode(); strategy.appendField(locator, this, "localeCode", buffer, theLocaleCode, (this.localeCode!= null)); } { VersionIDType theVersionID; theVersionID = this.getVersionID(); strategy.appendField(locator, this, "versionID", buffer, theVersionID, (this.versionID!= null)); } { DocumentStatusCodeType theDocumentStatusCode; theDocumentStatusCode = this.getDocumentStatusCode(); strategy.appendField(locator, this, "documentStatusCode", buffer, theDocumentStatusCode, (this.documentStatusCode!= null)); } { List theDocumentDescription; theDocumentDescription = (((this.documentDescription!= null)&&(!this.documentDescription.isEmpty()))?this.getDocumentDescription():null); strategy.appendField(locator, this, "documentDescription", buffer, theDocumentDescription, ((this.documentDescription!= null)&&(!this.documentDescription.isEmpty()))); } { AttachmentType theAttachment; theAttachment = this.getAttachment(); strategy.appendField(locator, this, "attachment", buffer, theAttachment, (this.attachment!= null)); } { PeriodType theValidityPeriod; theValidityPeriod = this.getValidityPeriod(); strategy.appendField(locator, this, "validityPeriod", buffer, theValidityPeriod, (this.validityPeriod!= null)); } { PartyType theIssuerParty; theIssuerParty = this.getIssuerParty(); strategy.appendField(locator, this, "issuerParty", buffer, theIssuerParty, (this.issuerParty!= null)); } { ResultOfVerificationType theResultOfVerification; theResultOfVerification = this.getResultOfVerification(); strategy.appendField(locator, this, "resultOfVerification", buffer, theResultOfVerification, (this.resultOfVerification!= 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 DocumentReferenceType that = ((DocumentReferenceType) 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; } } { CopyIndicatorType lhsCopyIndicator; lhsCopyIndicator = this.getCopyIndicator(); CopyIndicatorType rhsCopyIndicator; rhsCopyIndicator = that.getCopyIndicator(); if (!strategy.equals(LocatorUtils.property(thisLocator, "copyIndicator", lhsCopyIndicator), LocatorUtils.property(thatLocator, "copyIndicator", rhsCopyIndicator), lhsCopyIndicator, rhsCopyIndicator, (this.copyIndicator!= null), (that.copyIndicator!= null))) { return false; } } { UUIDType lhsUUID; lhsUUID = this.getUUID(); UUIDType rhsUUID; rhsUUID = that.getUUID(); if (!strategy.equals(LocatorUtils.property(thisLocator, "uuid", lhsUUID), LocatorUtils.property(thatLocator, "uuid", rhsUUID), lhsUUID, rhsUUID, (this.uuid!= null), (that.uuid!= null))) { return false; } } { IssueDateType lhsIssueDate; lhsIssueDate = this.getIssueDate(); IssueDateType rhsIssueDate; rhsIssueDate = that.getIssueDate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "issueDate", lhsIssueDate), LocatorUtils.property(thatLocator, "issueDate", rhsIssueDate), lhsIssueDate, rhsIssueDate, (this.issueDate!= null), (that.issueDate!= null))) { return false; } } { IssueTimeType lhsIssueTime; lhsIssueTime = this.getIssueTime(); IssueTimeType rhsIssueTime; rhsIssueTime = that.getIssueTime(); if (!strategy.equals(LocatorUtils.property(thisLocator, "issueTime", lhsIssueTime), LocatorUtils.property(thatLocator, "issueTime", rhsIssueTime), lhsIssueTime, rhsIssueTime, (this.issueTime!= null), (that.issueTime!= null))) { return false; } } { DocumentTypeCodeType lhsDocumentTypeCode; lhsDocumentTypeCode = this.getDocumentTypeCode(); DocumentTypeCodeType rhsDocumentTypeCode; rhsDocumentTypeCode = that.getDocumentTypeCode(); if (!strategy.equals(LocatorUtils.property(thisLocator, "documentTypeCode", lhsDocumentTypeCode), LocatorUtils.property(thatLocator, "documentTypeCode", rhsDocumentTypeCode), lhsDocumentTypeCode, rhsDocumentTypeCode, (this.documentTypeCode!= null), (that.documentTypeCode!= null))) { return false; } } { List lhsDocumentType; lhsDocumentType = (((this.documentType!= null)&&(!this.documentType.isEmpty()))?this.getDocumentType():null); List rhsDocumentType; rhsDocumentType = (((that.documentType!= null)&&(!that.documentType.isEmpty()))?that.getDocumentType():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "documentType", lhsDocumentType), LocatorUtils.property(thatLocator, "documentType", rhsDocumentType), lhsDocumentType, rhsDocumentType, ((this.documentType!= null)&&(!this.documentType.isEmpty())), ((that.documentType!= null)&&(!that.documentType.isEmpty())))) { return false; } } { List lhsXPath; lhsXPath = (((this.xPath!= null)&&(!this.xPath.isEmpty()))?this.getXPath():null); List rhsXPath; rhsXPath = (((that.xPath!= null)&&(!that.xPath.isEmpty()))?that.getXPath():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "xPath", lhsXPath), LocatorUtils.property(thatLocator, "xPath", rhsXPath), lhsXPath, rhsXPath, ((this.xPath!= null)&&(!this.xPath.isEmpty())), ((that.xPath!= null)&&(!that.xPath.isEmpty())))) { return false; } } { ReferencedDocumentInternalAddressType lhsReferencedDocumentInternalAddress; lhsReferencedDocumentInternalAddress = this.getReferencedDocumentInternalAddress(); ReferencedDocumentInternalAddressType rhsReferencedDocumentInternalAddress; rhsReferencedDocumentInternalAddress = that.getReferencedDocumentInternalAddress(); if (!strategy.equals(LocatorUtils.property(thisLocator, "referencedDocumentInternalAddress", lhsReferencedDocumentInternalAddress), LocatorUtils.property(thatLocator, "referencedDocumentInternalAddress", rhsReferencedDocumentInternalAddress), lhsReferencedDocumentInternalAddress, rhsReferencedDocumentInternalAddress, (this.referencedDocumentInternalAddress!= null), (that.referencedDocumentInternalAddress!= null))) { return false; } } { LanguageIDType lhsLanguageID; lhsLanguageID = this.getLanguageID(); LanguageIDType rhsLanguageID; rhsLanguageID = that.getLanguageID(); if (!strategy.equals(LocatorUtils.property(thisLocator, "languageID", lhsLanguageID), LocatorUtils.property(thatLocator, "languageID", rhsLanguageID), lhsLanguageID, rhsLanguageID, (this.languageID!= null), (that.languageID!= null))) { return false; } } { LocaleCodeType lhsLocaleCode; lhsLocaleCode = this.getLocaleCode(); LocaleCodeType rhsLocaleCode; rhsLocaleCode = that.getLocaleCode(); if (!strategy.equals(LocatorUtils.property(thisLocator, "localeCode", lhsLocaleCode), LocatorUtils.property(thatLocator, "localeCode", rhsLocaleCode), lhsLocaleCode, rhsLocaleCode, (this.localeCode!= null), (that.localeCode!= null))) { return false; } } { VersionIDType lhsVersionID; lhsVersionID = this.getVersionID(); VersionIDType rhsVersionID; rhsVersionID = that.getVersionID(); if (!strategy.equals(LocatorUtils.property(thisLocator, "versionID", lhsVersionID), LocatorUtils.property(thatLocator, "versionID", rhsVersionID), lhsVersionID, rhsVersionID, (this.versionID!= null), (that.versionID!= null))) { return false; } } { DocumentStatusCodeType lhsDocumentStatusCode; lhsDocumentStatusCode = this.getDocumentStatusCode(); DocumentStatusCodeType rhsDocumentStatusCode; rhsDocumentStatusCode = that.getDocumentStatusCode(); if (!strategy.equals(LocatorUtils.property(thisLocator, "documentStatusCode", lhsDocumentStatusCode), LocatorUtils.property(thatLocator, "documentStatusCode", rhsDocumentStatusCode), lhsDocumentStatusCode, rhsDocumentStatusCode, (this.documentStatusCode!= null), (that.documentStatusCode!= null))) { return false; } } { List lhsDocumentDescription; lhsDocumentDescription = (((this.documentDescription!= null)&&(!this.documentDescription.isEmpty()))?this.getDocumentDescription():null); List rhsDocumentDescription; rhsDocumentDescription = (((that.documentDescription!= null)&&(!that.documentDescription.isEmpty()))?that.getDocumentDescription():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "documentDescription", lhsDocumentDescription), LocatorUtils.property(thatLocator, "documentDescription", rhsDocumentDescription), lhsDocumentDescription, rhsDocumentDescription, ((this.documentDescription!= null)&&(!this.documentDescription.isEmpty())), ((that.documentDescription!= null)&&(!that.documentDescription.isEmpty())))) { return false; } } { AttachmentType lhsAttachment; lhsAttachment = this.getAttachment(); AttachmentType rhsAttachment; rhsAttachment = that.getAttachment(); if (!strategy.equals(LocatorUtils.property(thisLocator, "attachment", lhsAttachment), LocatorUtils.property(thatLocator, "attachment", rhsAttachment), lhsAttachment, rhsAttachment, (this.attachment!= null), (that.attachment!= null))) { return false; } } { PeriodType lhsValidityPeriod; lhsValidityPeriod = this.getValidityPeriod(); PeriodType rhsValidityPeriod; rhsValidityPeriod = that.getValidityPeriod(); if (!strategy.equals(LocatorUtils.property(thisLocator, "validityPeriod", lhsValidityPeriod), LocatorUtils.property(thatLocator, "validityPeriod", rhsValidityPeriod), lhsValidityPeriod, rhsValidityPeriod, (this.validityPeriod!= null), (that.validityPeriod!= null))) { return false; } } { PartyType lhsIssuerParty; lhsIssuerParty = this.getIssuerParty(); PartyType rhsIssuerParty; rhsIssuerParty = that.getIssuerParty(); if (!strategy.equals(LocatorUtils.property(thisLocator, "issuerParty", lhsIssuerParty), LocatorUtils.property(thatLocator, "issuerParty", rhsIssuerParty), lhsIssuerParty, rhsIssuerParty, (this.issuerParty!= null), (that.issuerParty!= null))) { return false; } } { ResultOfVerificationType lhsResultOfVerification; lhsResultOfVerification = this.getResultOfVerification(); ResultOfVerificationType rhsResultOfVerification; rhsResultOfVerification = that.getResultOfVerification(); if (!strategy.equals(LocatorUtils.property(thisLocator, "resultOfVerification", lhsResultOfVerification), LocatorUtils.property(thatLocator, "resultOfVerification", rhsResultOfVerification), lhsResultOfVerification, rhsResultOfVerification, (this.resultOfVerification!= null), (that.resultOfVerification!= 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)); } { CopyIndicatorType theCopyIndicator; theCopyIndicator = this.getCopyIndicator(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "copyIndicator", theCopyIndicator), currentHashCode, theCopyIndicator, (this.copyIndicator!= null)); } { UUIDType theUUID; theUUID = this.getUUID(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "uuid", theUUID), currentHashCode, theUUID, (this.uuid!= null)); } { IssueDateType theIssueDate; theIssueDate = this.getIssueDate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "issueDate", theIssueDate), currentHashCode, theIssueDate, (this.issueDate!= null)); } { IssueTimeType theIssueTime; theIssueTime = this.getIssueTime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "issueTime", theIssueTime), currentHashCode, theIssueTime, (this.issueTime!= null)); } { DocumentTypeCodeType theDocumentTypeCode; theDocumentTypeCode = this.getDocumentTypeCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentTypeCode", theDocumentTypeCode), currentHashCode, theDocumentTypeCode, (this.documentTypeCode!= null)); } { List theDocumentType; theDocumentType = (((this.documentType!= null)&&(!this.documentType.isEmpty()))?this.getDocumentType():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentType", theDocumentType), currentHashCode, theDocumentType, ((this.documentType!= null)&&(!this.documentType.isEmpty()))); } { List theXPath; theXPath = (((this.xPath!= null)&&(!this.xPath.isEmpty()))?this.getXPath():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "xPath", theXPath), currentHashCode, theXPath, ((this.xPath!= null)&&(!this.xPath.isEmpty()))); } { ReferencedDocumentInternalAddressType theReferencedDocumentInternalAddress; theReferencedDocumentInternalAddress = this.getReferencedDocumentInternalAddress(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "referencedDocumentInternalAddress", theReferencedDocumentInternalAddress), currentHashCode, theReferencedDocumentInternalAddress, (this.referencedDocumentInternalAddress!= null)); } { LanguageIDType theLanguageID; theLanguageID = this.getLanguageID(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "languageID", theLanguageID), currentHashCode, theLanguageID, (this.languageID!= null)); } { LocaleCodeType theLocaleCode; theLocaleCode = this.getLocaleCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "localeCode", theLocaleCode), currentHashCode, theLocaleCode, (this.localeCode!= null)); } { VersionIDType theVersionID; theVersionID = this.getVersionID(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "versionID", theVersionID), currentHashCode, theVersionID, (this.versionID!= null)); } { DocumentStatusCodeType theDocumentStatusCode; theDocumentStatusCode = this.getDocumentStatusCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentStatusCode", theDocumentStatusCode), currentHashCode, theDocumentStatusCode, (this.documentStatusCode!= null)); } { List theDocumentDescription; theDocumentDescription = (((this.documentDescription!= null)&&(!this.documentDescription.isEmpty()))?this.getDocumentDescription():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentDescription", theDocumentDescription), currentHashCode, theDocumentDescription, ((this.documentDescription!= null)&&(!this.documentDescription.isEmpty()))); } { AttachmentType theAttachment; theAttachment = this.getAttachment(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "attachment", theAttachment), currentHashCode, theAttachment, (this.attachment!= null)); } { PeriodType theValidityPeriod; theValidityPeriod = this.getValidityPeriod(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "validityPeriod", theValidityPeriod), currentHashCode, theValidityPeriod, (this.validityPeriod!= null)); } { PartyType theIssuerParty; theIssuerParty = this.getIssuerParty(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "issuerParty", theIssuerParty), currentHashCode, theIssuerParty, (this.issuerParty!= null)); } { ResultOfVerificationType theResultOfVerification; theResultOfVerification = this.getResultOfVerification(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "resultOfVerification", theResultOfVerification), currentHashCode, theResultOfVerification, (this.resultOfVerification!= null)); } return currentHashCode; } public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy