oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.MonetaryTotalType 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 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.AllowanceTotalAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ChargeTotalAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LineExtensionAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PayableAlternativeAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PayableAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PayableRoundingAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PrepaidAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TaxExclusiveAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TaxInclusiveAmountType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.WithholdingTaxTotalAmountType;
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 MonetaryTotalType complex type.
*
*
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
*
* <complexType name="MonetaryTotalType">
* <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}LineExtensionAmount" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TaxExclusiveAmount" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TaxInclusiveAmount" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}AllowanceTotalAmount" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ChargeTotalAmount" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}WithholdingTaxTotalAmount" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PrepaidAmount" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PayableRoundingAmount" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PayableAmount"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PayableAlternativeAmount" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MonetaryTotalType", propOrder = {
"ublExtensions",
"lineExtensionAmount",
"taxExclusiveAmount",
"taxInclusiveAmount",
"allowanceTotalAmount",
"chargeTotalAmount",
"withholdingTaxTotalAmount",
"prepaidAmount",
"payableRoundingAmount",
"payableAmount",
"payableAlternativeAmount"
})
public class MonetaryTotalType 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 = "LineExtensionAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected LineExtensionAmountType lineExtensionAmount;
@XmlElement(name = "TaxExclusiveAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected TaxExclusiveAmountType taxExclusiveAmount;
@XmlElement(name = "TaxInclusiveAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected TaxInclusiveAmountType taxInclusiveAmount;
@XmlElement(name = "AllowanceTotalAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected AllowanceTotalAmountType allowanceTotalAmount;
@XmlElement(name = "ChargeTotalAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected ChargeTotalAmountType chargeTotalAmount;
@XmlElement(name = "WithholdingTaxTotalAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected WithholdingTaxTotalAmountType withholdingTaxTotalAmount;
@XmlElement(name = "PrepaidAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected PrepaidAmountType prepaidAmount;
@XmlElement(name = "PayableRoundingAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected PayableRoundingAmountType payableRoundingAmount;
@XmlElement(name = "PayableAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true)
protected PayableAmountType payableAmount;
@XmlElement(name = "PayableAlternativeAmount", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected PayableAlternativeAmountType payableAlternativeAmount;
/**
* 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 lineExtensionAmount.
*
* @return
* possible object is
* {@link LineExtensionAmountType }
*
*/
public LineExtensionAmountType getLineExtensionAmount() {
return lineExtensionAmount;
}
/**
* Define el valor de la propiedad lineExtensionAmount.
*
* @param value
* allowed object is
* {@link LineExtensionAmountType }
*
*/
public void setLineExtensionAmount(LineExtensionAmountType value) {
this.lineExtensionAmount = value;
}
/**
* Obtiene el valor de la propiedad taxExclusiveAmount.
*
* @return
* possible object is
* {@link TaxExclusiveAmountType }
*
*/
public TaxExclusiveAmountType getTaxExclusiveAmount() {
return taxExclusiveAmount;
}
/**
* Define el valor de la propiedad taxExclusiveAmount.
*
* @param value
* allowed object is
* {@link TaxExclusiveAmountType }
*
*/
public void setTaxExclusiveAmount(TaxExclusiveAmountType value) {
this.taxExclusiveAmount = value;
}
/**
* Obtiene el valor de la propiedad taxInclusiveAmount.
*
* @return
* possible object is
* {@link TaxInclusiveAmountType }
*
*/
public TaxInclusiveAmountType getTaxInclusiveAmount() {
return taxInclusiveAmount;
}
/**
* Define el valor de la propiedad taxInclusiveAmount.
*
* @param value
* allowed object is
* {@link TaxInclusiveAmountType }
*
*/
public void setTaxInclusiveAmount(TaxInclusiveAmountType value) {
this.taxInclusiveAmount = value;
}
/**
* Obtiene el valor de la propiedad allowanceTotalAmount.
*
* @return
* possible object is
* {@link AllowanceTotalAmountType }
*
*/
public AllowanceTotalAmountType getAllowanceTotalAmount() {
return allowanceTotalAmount;
}
/**
* Define el valor de la propiedad allowanceTotalAmount.
*
* @param value
* allowed object is
* {@link AllowanceTotalAmountType }
*
*/
public void setAllowanceTotalAmount(AllowanceTotalAmountType value) {
this.allowanceTotalAmount = value;
}
/**
* Obtiene el valor de la propiedad chargeTotalAmount.
*
* @return
* possible object is
* {@link ChargeTotalAmountType }
*
*/
public ChargeTotalAmountType getChargeTotalAmount() {
return chargeTotalAmount;
}
/**
* Define el valor de la propiedad chargeTotalAmount.
*
* @param value
* allowed object is
* {@link ChargeTotalAmountType }
*
*/
public void setChargeTotalAmount(ChargeTotalAmountType value) {
this.chargeTotalAmount = value;
}
/**
* Obtiene el valor de la propiedad withholdingTaxTotalAmount.
*
* @return
* possible object is
* {@link WithholdingTaxTotalAmountType }
*
*/
public WithholdingTaxTotalAmountType getWithholdingTaxTotalAmount() {
return withholdingTaxTotalAmount;
}
/**
* Define el valor de la propiedad withholdingTaxTotalAmount.
*
* @param value
* allowed object is
* {@link WithholdingTaxTotalAmountType }
*
*/
public void setWithholdingTaxTotalAmount(WithholdingTaxTotalAmountType value) {
this.withholdingTaxTotalAmount = value;
}
/**
* Obtiene el valor de la propiedad prepaidAmount.
*
* @return
* possible object is
* {@link PrepaidAmountType }
*
*/
public PrepaidAmountType getPrepaidAmount() {
return prepaidAmount;
}
/**
* Define el valor de la propiedad prepaidAmount.
*
* @param value
* allowed object is
* {@link PrepaidAmountType }
*
*/
public void setPrepaidAmount(PrepaidAmountType value) {
this.prepaidAmount = value;
}
/**
* Obtiene el valor de la propiedad payableRoundingAmount.
*
* @return
* possible object is
* {@link PayableRoundingAmountType }
*
*/
public PayableRoundingAmountType getPayableRoundingAmount() {
return payableRoundingAmount;
}
/**
* Define el valor de la propiedad payableRoundingAmount.
*
* @param value
* allowed object is
* {@link PayableRoundingAmountType }
*
*/
public void setPayableRoundingAmount(PayableRoundingAmountType value) {
this.payableRoundingAmount = value;
}
/**
* Obtiene el valor de la propiedad payableAmount.
*
* @return
* possible object is
* {@link PayableAmountType }
*
*/
public PayableAmountType getPayableAmount() {
return payableAmount;
}
/**
* Define el valor de la propiedad payableAmount.
*
* @param value
* allowed object is
* {@link PayableAmountType }
*
*/
public void setPayableAmount(PayableAmountType value) {
this.payableAmount = value;
}
/**
* Obtiene el valor de la propiedad payableAlternativeAmount.
*
* @return
* possible object is
* {@link PayableAlternativeAmountType }
*
*/
public PayableAlternativeAmountType getPayableAlternativeAmount() {
return payableAlternativeAmount;
}
/**
* Define el valor de la propiedad payableAlternativeAmount.
*
* @param value
* allowed object is
* {@link PayableAlternativeAmountType }
*
*/
public void setPayableAlternativeAmount(PayableAlternativeAmountType value) {
this.payableAlternativeAmount = 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));
}
{
LineExtensionAmountType theLineExtensionAmount;
theLineExtensionAmount = this.getLineExtensionAmount();
strategy.appendField(locator, this, "lineExtensionAmount", buffer, theLineExtensionAmount, (this.lineExtensionAmount!= null));
}
{
TaxExclusiveAmountType theTaxExclusiveAmount;
theTaxExclusiveAmount = this.getTaxExclusiveAmount();
strategy.appendField(locator, this, "taxExclusiveAmount", buffer, theTaxExclusiveAmount, (this.taxExclusiveAmount!= null));
}
{
TaxInclusiveAmountType theTaxInclusiveAmount;
theTaxInclusiveAmount = this.getTaxInclusiveAmount();
strategy.appendField(locator, this, "taxInclusiveAmount", buffer, theTaxInclusiveAmount, (this.taxInclusiveAmount!= null));
}
{
AllowanceTotalAmountType theAllowanceTotalAmount;
theAllowanceTotalAmount = this.getAllowanceTotalAmount();
strategy.appendField(locator, this, "allowanceTotalAmount", buffer, theAllowanceTotalAmount, (this.allowanceTotalAmount!= null));
}
{
ChargeTotalAmountType theChargeTotalAmount;
theChargeTotalAmount = this.getChargeTotalAmount();
strategy.appendField(locator, this, "chargeTotalAmount", buffer, theChargeTotalAmount, (this.chargeTotalAmount!= null));
}
{
WithholdingTaxTotalAmountType theWithholdingTaxTotalAmount;
theWithholdingTaxTotalAmount = this.getWithholdingTaxTotalAmount();
strategy.appendField(locator, this, "withholdingTaxTotalAmount", buffer, theWithholdingTaxTotalAmount, (this.withholdingTaxTotalAmount!= null));
}
{
PrepaidAmountType thePrepaidAmount;
thePrepaidAmount = this.getPrepaidAmount();
strategy.appendField(locator, this, "prepaidAmount", buffer, thePrepaidAmount, (this.prepaidAmount!= null));
}
{
PayableRoundingAmountType thePayableRoundingAmount;
thePayableRoundingAmount = this.getPayableRoundingAmount();
strategy.appendField(locator, this, "payableRoundingAmount", buffer, thePayableRoundingAmount, (this.payableRoundingAmount!= null));
}
{
PayableAmountType thePayableAmount;
thePayableAmount = this.getPayableAmount();
strategy.appendField(locator, this, "payableAmount", buffer, thePayableAmount, (this.payableAmount!= null));
}
{
PayableAlternativeAmountType thePayableAlternativeAmount;
thePayableAlternativeAmount = this.getPayableAlternativeAmount();
strategy.appendField(locator, this, "payableAlternativeAmount", buffer, thePayableAlternativeAmount, (this.payableAlternativeAmount!= 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 MonetaryTotalType that = ((MonetaryTotalType) 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;
}
}
{
LineExtensionAmountType lhsLineExtensionAmount;
lhsLineExtensionAmount = this.getLineExtensionAmount();
LineExtensionAmountType rhsLineExtensionAmount;
rhsLineExtensionAmount = that.getLineExtensionAmount();
if (!strategy.equals(LocatorUtils.property(thisLocator, "lineExtensionAmount", lhsLineExtensionAmount), LocatorUtils.property(thatLocator, "lineExtensionAmount", rhsLineExtensionAmount), lhsLineExtensionAmount, rhsLineExtensionAmount, (this.lineExtensionAmount!= null), (that.lineExtensionAmount!= null))) {
return false;
}
}
{
TaxExclusiveAmountType lhsTaxExclusiveAmount;
lhsTaxExclusiveAmount = this.getTaxExclusiveAmount();
TaxExclusiveAmountType rhsTaxExclusiveAmount;
rhsTaxExclusiveAmount = that.getTaxExclusiveAmount();
if (!strategy.equals(LocatorUtils.property(thisLocator, "taxExclusiveAmount", lhsTaxExclusiveAmount), LocatorUtils.property(thatLocator, "taxExclusiveAmount", rhsTaxExclusiveAmount), lhsTaxExclusiveAmount, rhsTaxExclusiveAmount, (this.taxExclusiveAmount!= null), (that.taxExclusiveAmount!= null))) {
return false;
}
}
{
TaxInclusiveAmountType lhsTaxInclusiveAmount;
lhsTaxInclusiveAmount = this.getTaxInclusiveAmount();
TaxInclusiveAmountType rhsTaxInclusiveAmount;
rhsTaxInclusiveAmount = that.getTaxInclusiveAmount();
if (!strategy.equals(LocatorUtils.property(thisLocator, "taxInclusiveAmount", lhsTaxInclusiveAmount), LocatorUtils.property(thatLocator, "taxInclusiveAmount", rhsTaxInclusiveAmount), lhsTaxInclusiveAmount, rhsTaxInclusiveAmount, (this.taxInclusiveAmount!= null), (that.taxInclusiveAmount!= null))) {
return false;
}
}
{
AllowanceTotalAmountType lhsAllowanceTotalAmount;
lhsAllowanceTotalAmount = this.getAllowanceTotalAmount();
AllowanceTotalAmountType rhsAllowanceTotalAmount;
rhsAllowanceTotalAmount = that.getAllowanceTotalAmount();
if (!strategy.equals(LocatorUtils.property(thisLocator, "allowanceTotalAmount", lhsAllowanceTotalAmount), LocatorUtils.property(thatLocator, "allowanceTotalAmount", rhsAllowanceTotalAmount), lhsAllowanceTotalAmount, rhsAllowanceTotalAmount, (this.allowanceTotalAmount!= null), (that.allowanceTotalAmount!= null))) {
return false;
}
}
{
ChargeTotalAmountType lhsChargeTotalAmount;
lhsChargeTotalAmount = this.getChargeTotalAmount();
ChargeTotalAmountType rhsChargeTotalAmount;
rhsChargeTotalAmount = that.getChargeTotalAmount();
if (!strategy.equals(LocatorUtils.property(thisLocator, "chargeTotalAmount", lhsChargeTotalAmount), LocatorUtils.property(thatLocator, "chargeTotalAmount", rhsChargeTotalAmount), lhsChargeTotalAmount, rhsChargeTotalAmount, (this.chargeTotalAmount!= null), (that.chargeTotalAmount!= null))) {
return false;
}
}
{
WithholdingTaxTotalAmountType lhsWithholdingTaxTotalAmount;
lhsWithholdingTaxTotalAmount = this.getWithholdingTaxTotalAmount();
WithholdingTaxTotalAmountType rhsWithholdingTaxTotalAmount;
rhsWithholdingTaxTotalAmount = that.getWithholdingTaxTotalAmount();
if (!strategy.equals(LocatorUtils.property(thisLocator, "withholdingTaxTotalAmount", lhsWithholdingTaxTotalAmount), LocatorUtils.property(thatLocator, "withholdingTaxTotalAmount", rhsWithholdingTaxTotalAmount), lhsWithholdingTaxTotalAmount, rhsWithholdingTaxTotalAmount, (this.withholdingTaxTotalAmount!= null), (that.withholdingTaxTotalAmount!= null))) {
return false;
}
}
{
PrepaidAmountType lhsPrepaidAmount;
lhsPrepaidAmount = this.getPrepaidAmount();
PrepaidAmountType rhsPrepaidAmount;
rhsPrepaidAmount = that.getPrepaidAmount();
if (!strategy.equals(LocatorUtils.property(thisLocator, "prepaidAmount", lhsPrepaidAmount), LocatorUtils.property(thatLocator, "prepaidAmount", rhsPrepaidAmount), lhsPrepaidAmount, rhsPrepaidAmount, (this.prepaidAmount!= null), (that.prepaidAmount!= null))) {
return false;
}
}
{
PayableRoundingAmountType lhsPayableRoundingAmount;
lhsPayableRoundingAmount = this.getPayableRoundingAmount();
PayableRoundingAmountType rhsPayableRoundingAmount;
rhsPayableRoundingAmount = that.getPayableRoundingAmount();
if (!strategy.equals(LocatorUtils.property(thisLocator, "payableRoundingAmount", lhsPayableRoundingAmount), LocatorUtils.property(thatLocator, "payableRoundingAmount", rhsPayableRoundingAmount), lhsPayableRoundingAmount, rhsPayableRoundingAmount, (this.payableRoundingAmount!= null), (that.payableRoundingAmount!= null))) {
return false;
}
}
{
PayableAmountType lhsPayableAmount;
lhsPayableAmount = this.getPayableAmount();
PayableAmountType rhsPayableAmount;
rhsPayableAmount = that.getPayableAmount();
if (!strategy.equals(LocatorUtils.property(thisLocator, "payableAmount", lhsPayableAmount), LocatorUtils.property(thatLocator, "payableAmount", rhsPayableAmount), lhsPayableAmount, rhsPayableAmount, (this.payableAmount!= null), (that.payableAmount!= null))) {
return false;
}
}
{
PayableAlternativeAmountType lhsPayableAlternativeAmount;
lhsPayableAlternativeAmount = this.getPayableAlternativeAmount();
PayableAlternativeAmountType rhsPayableAlternativeAmount;
rhsPayableAlternativeAmount = that.getPayableAlternativeAmount();
if (!strategy.equals(LocatorUtils.property(thisLocator, "payableAlternativeAmount", lhsPayableAlternativeAmount), LocatorUtils.property(thatLocator, "payableAlternativeAmount", rhsPayableAlternativeAmount), lhsPayableAlternativeAmount, rhsPayableAlternativeAmount, (this.payableAlternativeAmount!= null), (that.payableAlternativeAmount!= 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));
}
{
LineExtensionAmountType theLineExtensionAmount;
theLineExtensionAmount = this.getLineExtensionAmount();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lineExtensionAmount", theLineExtensionAmount), currentHashCode, theLineExtensionAmount, (this.lineExtensionAmount!= null));
}
{
TaxExclusiveAmountType theTaxExclusiveAmount;
theTaxExclusiveAmount = this.getTaxExclusiveAmount();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "taxExclusiveAmount", theTaxExclusiveAmount), currentHashCode, theTaxExclusiveAmount, (this.taxExclusiveAmount!= null));
}
{
TaxInclusiveAmountType theTaxInclusiveAmount;
theTaxInclusiveAmount = this.getTaxInclusiveAmount();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "taxInclusiveAmount", theTaxInclusiveAmount), currentHashCode, theTaxInclusiveAmount, (this.taxInclusiveAmount!= null));
}
{
AllowanceTotalAmountType theAllowanceTotalAmount;
theAllowanceTotalAmount = this.getAllowanceTotalAmount();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "allowanceTotalAmount", theAllowanceTotalAmount), currentHashCode, theAllowanceTotalAmount, (this.allowanceTotalAmount!= null));
}
{
ChargeTotalAmountType theChargeTotalAmount;
theChargeTotalAmount = this.getChargeTotalAmount();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "chargeTotalAmount", theChargeTotalAmount), currentHashCode, theChargeTotalAmount, (this.chargeTotalAmount!= null));
}
{
WithholdingTaxTotalAmountType theWithholdingTaxTotalAmount;
theWithholdingTaxTotalAmount = this.getWithholdingTaxTotalAmount();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "withholdingTaxTotalAmount", theWithholdingTaxTotalAmount), currentHashCode, theWithholdingTaxTotalAmount, (this.withholdingTaxTotalAmount!= null));
}
{
PrepaidAmountType thePrepaidAmount;
thePrepaidAmount = this.getPrepaidAmount();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "prepaidAmount", thePrepaidAmount), currentHashCode, thePrepaidAmount, (this.prepaidAmount!= null));
}
{
PayableRoundingAmountType thePayableRoundingAmount;
thePayableRoundingAmount = this.getPayableRoundingAmount();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "payableRoundingAmount", thePayableRoundingAmount), currentHashCode, thePayableRoundingAmount, (this.payableRoundingAmount!= null));
}
{
PayableAmountType thePayableAmount;
thePayableAmount = this.getPayableAmount();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "payableAmount", thePayableAmount), currentHashCode, thePayableAmount, (this.payableAmount!= null));
}
{
PayableAlternativeAmountType thePayableAlternativeAmount;
thePayableAlternativeAmount = this.getPayableAlternativeAmount();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "payableAlternativeAmount", thePayableAlternativeAmount), currentHashCode, thePayableAlternativeAmount, (this.payableAlternativeAmount!= null));
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
}