oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.TransportExecutionTermsType 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.ChangeConditionsType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TransportServiceProviderSpecialTermsType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TransportUserSpecialTermsType;
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 TransportExecutionTermsType complex type.
*
*
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
*
* <complexType name="TransportExecutionTermsType">
* <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}TransportUserSpecialTerms" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TransportServiceProviderSpecialTerms" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ChangeConditions" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PaymentTerms" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DeliveryTerms" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}BonusPaymentTerms" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}CommissionPaymentTerms" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PenaltyPaymentTerms" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}EnvironmentalEmission" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}NotificationRequirement" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ServiceChargePaymentTerms" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TransportExecutionTermsType", propOrder = {
"ublExtensions",
"transportUserSpecialTerms",
"transportServiceProviderSpecialTerms",
"changeConditions",
"paymentTerms",
"deliveryTerms",
"bonusPaymentTerms",
"commissionPaymentTerms",
"penaltyPaymentTerms",
"environmentalEmission",
"notificationRequirement",
"serviceChargePaymentTerms"
})
public class TransportExecutionTermsType 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 = "TransportUserSpecialTerms", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected List transportUserSpecialTerms;
@XmlElement(name = "TransportServiceProviderSpecialTerms", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected List transportServiceProviderSpecialTerms;
@XmlElement(name = "ChangeConditions", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected List changeConditions;
@XmlElement(name = "PaymentTerms")
protected List paymentTerms;
@XmlElement(name = "DeliveryTerms")
protected List deliveryTerms;
@XmlElement(name = "BonusPaymentTerms")
protected PaymentTermsType bonusPaymentTerms;
@XmlElement(name = "CommissionPaymentTerms")
protected PaymentTermsType commissionPaymentTerms;
@XmlElement(name = "PenaltyPaymentTerms")
protected PaymentTermsType penaltyPaymentTerms;
@XmlElement(name = "EnvironmentalEmission")
protected List environmentalEmission;
@XmlElement(name = "NotificationRequirement")
protected List notificationRequirement;
@XmlElement(name = "ServiceChargePaymentTerms")
protected PaymentTermsType serviceChargePaymentTerms;
/**
* 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;
}
/**
* Gets the value of the transportUserSpecialTerms 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 transportUserSpecialTerms property.
*
*
* For example, to add a new item, do as follows:
*
* getTransportUserSpecialTerms().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TransportUserSpecialTermsType }
*
*
*/
public List getTransportUserSpecialTerms() {
if (transportUserSpecialTerms == null) {
transportUserSpecialTerms = new ArrayList();
}
return this.transportUserSpecialTerms;
}
/**
* Gets the value of the transportServiceProviderSpecialTerms 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 transportServiceProviderSpecialTerms property.
*
*
* For example, to add a new item, do as follows:
*
* getTransportServiceProviderSpecialTerms().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TransportServiceProviderSpecialTermsType }
*
*
*/
public List getTransportServiceProviderSpecialTerms() {
if (transportServiceProviderSpecialTerms == null) {
transportServiceProviderSpecialTerms = new ArrayList();
}
return this.transportServiceProviderSpecialTerms;
}
/**
* Gets the value of the changeConditions 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 changeConditions property.
*
*
* For example, to add a new item, do as follows:
*
* getChangeConditions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ChangeConditionsType }
*
*
*/
public List getChangeConditions() {
if (changeConditions == null) {
changeConditions = new ArrayList();
}
return this.changeConditions;
}
/**
* Gets the value of the paymentTerms 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 paymentTerms property.
*
*
* For example, to add a new item, do as follows:
*
* getPaymentTerms().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PaymentTermsType }
*
*
*/
public List getPaymentTerms() {
if (paymentTerms == null) {
paymentTerms = new ArrayList();
}
return this.paymentTerms;
}
/**
* Gets the value of the deliveryTerms 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 deliveryTerms property.
*
*
* For example, to add a new item, do as follows:
*
* getDeliveryTerms().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DeliveryTermsType }
*
*
*/
public List getDeliveryTerms() {
if (deliveryTerms == null) {
deliveryTerms = new ArrayList();
}
return this.deliveryTerms;
}
/**
* Obtiene el valor de la propiedad bonusPaymentTerms.
*
* @return
* possible object is
* {@link PaymentTermsType }
*
*/
public PaymentTermsType getBonusPaymentTerms() {
return bonusPaymentTerms;
}
/**
* Define el valor de la propiedad bonusPaymentTerms.
*
* @param value
* allowed object is
* {@link PaymentTermsType }
*
*/
public void setBonusPaymentTerms(PaymentTermsType value) {
this.bonusPaymentTerms = value;
}
/**
* Obtiene el valor de la propiedad commissionPaymentTerms.
*
* @return
* possible object is
* {@link PaymentTermsType }
*
*/
public PaymentTermsType getCommissionPaymentTerms() {
return commissionPaymentTerms;
}
/**
* Define el valor de la propiedad commissionPaymentTerms.
*
* @param value
* allowed object is
* {@link PaymentTermsType }
*
*/
public void setCommissionPaymentTerms(PaymentTermsType value) {
this.commissionPaymentTerms = value;
}
/**
* Obtiene el valor de la propiedad penaltyPaymentTerms.
*
* @return
* possible object is
* {@link PaymentTermsType }
*
*/
public PaymentTermsType getPenaltyPaymentTerms() {
return penaltyPaymentTerms;
}
/**
* Define el valor de la propiedad penaltyPaymentTerms.
*
* @param value
* allowed object is
* {@link PaymentTermsType }
*
*/
public void setPenaltyPaymentTerms(PaymentTermsType value) {
this.penaltyPaymentTerms = value;
}
/**
* Gets the value of the environmentalEmission 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 environmentalEmission property.
*
*
* For example, to add a new item, do as follows:
*
* getEnvironmentalEmission().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link EnvironmentalEmissionType }
*
*
*/
public List getEnvironmentalEmission() {
if (environmentalEmission == null) {
environmentalEmission = new ArrayList();
}
return this.environmentalEmission;
}
/**
* Gets the value of the notificationRequirement 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 notificationRequirement property.
*
*
* For example, to add a new item, do as follows:
*
* getNotificationRequirement().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NotificationRequirementType }
*
*
*/
public List getNotificationRequirement() {
if (notificationRequirement == null) {
notificationRequirement = new ArrayList();
}
return this.notificationRequirement;
}
/**
* Obtiene el valor de la propiedad serviceChargePaymentTerms.
*
* @return
* possible object is
* {@link PaymentTermsType }
*
*/
public PaymentTermsType getServiceChargePaymentTerms() {
return serviceChargePaymentTerms;
}
/**
* Define el valor de la propiedad serviceChargePaymentTerms.
*
* @param value
* allowed object is
* {@link PaymentTermsType }
*
*/
public void setServiceChargePaymentTerms(PaymentTermsType value) {
this.serviceChargePaymentTerms = 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));
}
{
List theTransportUserSpecialTerms;
theTransportUserSpecialTerms = (((this.transportUserSpecialTerms!= null)&&(!this.transportUserSpecialTerms.isEmpty()))?this.getTransportUserSpecialTerms():null);
strategy.appendField(locator, this, "transportUserSpecialTerms", buffer, theTransportUserSpecialTerms, ((this.transportUserSpecialTerms!= null)&&(!this.transportUserSpecialTerms.isEmpty())));
}
{
List theTransportServiceProviderSpecialTerms;
theTransportServiceProviderSpecialTerms = (((this.transportServiceProviderSpecialTerms!= null)&&(!this.transportServiceProviderSpecialTerms.isEmpty()))?this.getTransportServiceProviderSpecialTerms():null);
strategy.appendField(locator, this, "transportServiceProviderSpecialTerms", buffer, theTransportServiceProviderSpecialTerms, ((this.transportServiceProviderSpecialTerms!= null)&&(!this.transportServiceProviderSpecialTerms.isEmpty())));
}
{
List theChangeConditions;
theChangeConditions = (((this.changeConditions!= null)&&(!this.changeConditions.isEmpty()))?this.getChangeConditions():null);
strategy.appendField(locator, this, "changeConditions", buffer, theChangeConditions, ((this.changeConditions!= null)&&(!this.changeConditions.isEmpty())));
}
{
List thePaymentTerms;
thePaymentTerms = (((this.paymentTerms!= null)&&(!this.paymentTerms.isEmpty()))?this.getPaymentTerms():null);
strategy.appendField(locator, this, "paymentTerms", buffer, thePaymentTerms, ((this.paymentTerms!= null)&&(!this.paymentTerms.isEmpty())));
}
{
List theDeliveryTerms;
theDeliveryTerms = (((this.deliveryTerms!= null)&&(!this.deliveryTerms.isEmpty()))?this.getDeliveryTerms():null);
strategy.appendField(locator, this, "deliveryTerms", buffer, theDeliveryTerms, ((this.deliveryTerms!= null)&&(!this.deliveryTerms.isEmpty())));
}
{
PaymentTermsType theBonusPaymentTerms;
theBonusPaymentTerms = this.getBonusPaymentTerms();
strategy.appendField(locator, this, "bonusPaymentTerms", buffer, theBonusPaymentTerms, (this.bonusPaymentTerms!= null));
}
{
PaymentTermsType theCommissionPaymentTerms;
theCommissionPaymentTerms = this.getCommissionPaymentTerms();
strategy.appendField(locator, this, "commissionPaymentTerms", buffer, theCommissionPaymentTerms, (this.commissionPaymentTerms!= null));
}
{
PaymentTermsType thePenaltyPaymentTerms;
thePenaltyPaymentTerms = this.getPenaltyPaymentTerms();
strategy.appendField(locator, this, "penaltyPaymentTerms", buffer, thePenaltyPaymentTerms, (this.penaltyPaymentTerms!= null));
}
{
List theEnvironmentalEmission;
theEnvironmentalEmission = (((this.environmentalEmission!= null)&&(!this.environmentalEmission.isEmpty()))?this.getEnvironmentalEmission():null);
strategy.appendField(locator, this, "environmentalEmission", buffer, theEnvironmentalEmission, ((this.environmentalEmission!= null)&&(!this.environmentalEmission.isEmpty())));
}
{
List theNotificationRequirement;
theNotificationRequirement = (((this.notificationRequirement!= null)&&(!this.notificationRequirement.isEmpty()))?this.getNotificationRequirement():null);
strategy.appendField(locator, this, "notificationRequirement", buffer, theNotificationRequirement, ((this.notificationRequirement!= null)&&(!this.notificationRequirement.isEmpty())));
}
{
PaymentTermsType theServiceChargePaymentTerms;
theServiceChargePaymentTerms = this.getServiceChargePaymentTerms();
strategy.appendField(locator, this, "serviceChargePaymentTerms", buffer, theServiceChargePaymentTerms, (this.serviceChargePaymentTerms!= 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 TransportExecutionTermsType that = ((TransportExecutionTermsType) 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;
}
}
{
List lhsTransportUserSpecialTerms;
lhsTransportUserSpecialTerms = (((this.transportUserSpecialTerms!= null)&&(!this.transportUserSpecialTerms.isEmpty()))?this.getTransportUserSpecialTerms():null);
List rhsTransportUserSpecialTerms;
rhsTransportUserSpecialTerms = (((that.transportUserSpecialTerms!= null)&&(!that.transportUserSpecialTerms.isEmpty()))?that.getTransportUserSpecialTerms():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "transportUserSpecialTerms", lhsTransportUserSpecialTerms), LocatorUtils.property(thatLocator, "transportUserSpecialTerms", rhsTransportUserSpecialTerms), lhsTransportUserSpecialTerms, rhsTransportUserSpecialTerms, ((this.transportUserSpecialTerms!= null)&&(!this.transportUserSpecialTerms.isEmpty())), ((that.transportUserSpecialTerms!= null)&&(!that.transportUserSpecialTerms.isEmpty())))) {
return false;
}
}
{
List lhsTransportServiceProviderSpecialTerms;
lhsTransportServiceProviderSpecialTerms = (((this.transportServiceProviderSpecialTerms!= null)&&(!this.transportServiceProviderSpecialTerms.isEmpty()))?this.getTransportServiceProviderSpecialTerms():null);
List rhsTransportServiceProviderSpecialTerms;
rhsTransportServiceProviderSpecialTerms = (((that.transportServiceProviderSpecialTerms!= null)&&(!that.transportServiceProviderSpecialTerms.isEmpty()))?that.getTransportServiceProviderSpecialTerms():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "transportServiceProviderSpecialTerms", lhsTransportServiceProviderSpecialTerms), LocatorUtils.property(thatLocator, "transportServiceProviderSpecialTerms", rhsTransportServiceProviderSpecialTerms), lhsTransportServiceProviderSpecialTerms, rhsTransportServiceProviderSpecialTerms, ((this.transportServiceProviderSpecialTerms!= null)&&(!this.transportServiceProviderSpecialTerms.isEmpty())), ((that.transportServiceProviderSpecialTerms!= null)&&(!that.transportServiceProviderSpecialTerms.isEmpty())))) {
return false;
}
}
{
List lhsChangeConditions;
lhsChangeConditions = (((this.changeConditions!= null)&&(!this.changeConditions.isEmpty()))?this.getChangeConditions():null);
List rhsChangeConditions;
rhsChangeConditions = (((that.changeConditions!= null)&&(!that.changeConditions.isEmpty()))?that.getChangeConditions():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "changeConditions", lhsChangeConditions), LocatorUtils.property(thatLocator, "changeConditions", rhsChangeConditions), lhsChangeConditions, rhsChangeConditions, ((this.changeConditions!= null)&&(!this.changeConditions.isEmpty())), ((that.changeConditions!= null)&&(!that.changeConditions.isEmpty())))) {
return false;
}
}
{
List lhsPaymentTerms;
lhsPaymentTerms = (((this.paymentTerms!= null)&&(!this.paymentTerms.isEmpty()))?this.getPaymentTerms():null);
List rhsPaymentTerms;
rhsPaymentTerms = (((that.paymentTerms!= null)&&(!that.paymentTerms.isEmpty()))?that.getPaymentTerms():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "paymentTerms", lhsPaymentTerms), LocatorUtils.property(thatLocator, "paymentTerms", rhsPaymentTerms), lhsPaymentTerms, rhsPaymentTerms, ((this.paymentTerms!= null)&&(!this.paymentTerms.isEmpty())), ((that.paymentTerms!= null)&&(!that.paymentTerms.isEmpty())))) {
return false;
}
}
{
List lhsDeliveryTerms;
lhsDeliveryTerms = (((this.deliveryTerms!= null)&&(!this.deliveryTerms.isEmpty()))?this.getDeliveryTerms():null);
List rhsDeliveryTerms;
rhsDeliveryTerms = (((that.deliveryTerms!= null)&&(!that.deliveryTerms.isEmpty()))?that.getDeliveryTerms():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "deliveryTerms", lhsDeliveryTerms), LocatorUtils.property(thatLocator, "deliveryTerms", rhsDeliveryTerms), lhsDeliveryTerms, rhsDeliveryTerms, ((this.deliveryTerms!= null)&&(!this.deliveryTerms.isEmpty())), ((that.deliveryTerms!= null)&&(!that.deliveryTerms.isEmpty())))) {
return false;
}
}
{
PaymentTermsType lhsBonusPaymentTerms;
lhsBonusPaymentTerms = this.getBonusPaymentTerms();
PaymentTermsType rhsBonusPaymentTerms;
rhsBonusPaymentTerms = that.getBonusPaymentTerms();
if (!strategy.equals(LocatorUtils.property(thisLocator, "bonusPaymentTerms", lhsBonusPaymentTerms), LocatorUtils.property(thatLocator, "bonusPaymentTerms", rhsBonusPaymentTerms), lhsBonusPaymentTerms, rhsBonusPaymentTerms, (this.bonusPaymentTerms!= null), (that.bonusPaymentTerms!= null))) {
return false;
}
}
{
PaymentTermsType lhsCommissionPaymentTerms;
lhsCommissionPaymentTerms = this.getCommissionPaymentTerms();
PaymentTermsType rhsCommissionPaymentTerms;
rhsCommissionPaymentTerms = that.getCommissionPaymentTerms();
if (!strategy.equals(LocatorUtils.property(thisLocator, "commissionPaymentTerms", lhsCommissionPaymentTerms), LocatorUtils.property(thatLocator, "commissionPaymentTerms", rhsCommissionPaymentTerms), lhsCommissionPaymentTerms, rhsCommissionPaymentTerms, (this.commissionPaymentTerms!= null), (that.commissionPaymentTerms!= null))) {
return false;
}
}
{
PaymentTermsType lhsPenaltyPaymentTerms;
lhsPenaltyPaymentTerms = this.getPenaltyPaymentTerms();
PaymentTermsType rhsPenaltyPaymentTerms;
rhsPenaltyPaymentTerms = that.getPenaltyPaymentTerms();
if (!strategy.equals(LocatorUtils.property(thisLocator, "penaltyPaymentTerms", lhsPenaltyPaymentTerms), LocatorUtils.property(thatLocator, "penaltyPaymentTerms", rhsPenaltyPaymentTerms), lhsPenaltyPaymentTerms, rhsPenaltyPaymentTerms, (this.penaltyPaymentTerms!= null), (that.penaltyPaymentTerms!= null))) {
return false;
}
}
{
List lhsEnvironmentalEmission;
lhsEnvironmentalEmission = (((this.environmentalEmission!= null)&&(!this.environmentalEmission.isEmpty()))?this.getEnvironmentalEmission():null);
List rhsEnvironmentalEmission;
rhsEnvironmentalEmission = (((that.environmentalEmission!= null)&&(!that.environmentalEmission.isEmpty()))?that.getEnvironmentalEmission():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "environmentalEmission", lhsEnvironmentalEmission), LocatorUtils.property(thatLocator, "environmentalEmission", rhsEnvironmentalEmission), lhsEnvironmentalEmission, rhsEnvironmentalEmission, ((this.environmentalEmission!= null)&&(!this.environmentalEmission.isEmpty())), ((that.environmentalEmission!= null)&&(!that.environmentalEmission.isEmpty())))) {
return false;
}
}
{
List lhsNotificationRequirement;
lhsNotificationRequirement = (((this.notificationRequirement!= null)&&(!this.notificationRequirement.isEmpty()))?this.getNotificationRequirement():null);
List rhsNotificationRequirement;
rhsNotificationRequirement = (((that.notificationRequirement!= null)&&(!that.notificationRequirement.isEmpty()))?that.getNotificationRequirement():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "notificationRequirement", lhsNotificationRequirement), LocatorUtils.property(thatLocator, "notificationRequirement", rhsNotificationRequirement), lhsNotificationRequirement, rhsNotificationRequirement, ((this.notificationRequirement!= null)&&(!this.notificationRequirement.isEmpty())), ((that.notificationRequirement!= null)&&(!that.notificationRequirement.isEmpty())))) {
return false;
}
}
{
PaymentTermsType lhsServiceChargePaymentTerms;
lhsServiceChargePaymentTerms = this.getServiceChargePaymentTerms();
PaymentTermsType rhsServiceChargePaymentTerms;
rhsServiceChargePaymentTerms = that.getServiceChargePaymentTerms();
if (!strategy.equals(LocatorUtils.property(thisLocator, "serviceChargePaymentTerms", lhsServiceChargePaymentTerms), LocatorUtils.property(thatLocator, "serviceChargePaymentTerms", rhsServiceChargePaymentTerms), lhsServiceChargePaymentTerms, rhsServiceChargePaymentTerms, (this.serviceChargePaymentTerms!= null), (that.serviceChargePaymentTerms!= 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));
}
{
List theTransportUserSpecialTerms;
theTransportUserSpecialTerms = (((this.transportUserSpecialTerms!= null)&&(!this.transportUserSpecialTerms.isEmpty()))?this.getTransportUserSpecialTerms():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "transportUserSpecialTerms", theTransportUserSpecialTerms), currentHashCode, theTransportUserSpecialTerms, ((this.transportUserSpecialTerms!= null)&&(!this.transportUserSpecialTerms.isEmpty())));
}
{
List theTransportServiceProviderSpecialTerms;
theTransportServiceProviderSpecialTerms = (((this.transportServiceProviderSpecialTerms!= null)&&(!this.transportServiceProviderSpecialTerms.isEmpty()))?this.getTransportServiceProviderSpecialTerms():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "transportServiceProviderSpecialTerms", theTransportServiceProviderSpecialTerms), currentHashCode, theTransportServiceProviderSpecialTerms, ((this.transportServiceProviderSpecialTerms!= null)&&(!this.transportServiceProviderSpecialTerms.isEmpty())));
}
{
List theChangeConditions;
theChangeConditions = (((this.changeConditions!= null)&&(!this.changeConditions.isEmpty()))?this.getChangeConditions():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "changeConditions", theChangeConditions), currentHashCode, theChangeConditions, ((this.changeConditions!= null)&&(!this.changeConditions.isEmpty())));
}
{
List thePaymentTerms;
thePaymentTerms = (((this.paymentTerms!= null)&&(!this.paymentTerms.isEmpty()))?this.getPaymentTerms():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "paymentTerms", thePaymentTerms), currentHashCode, thePaymentTerms, ((this.paymentTerms!= null)&&(!this.paymentTerms.isEmpty())));
}
{
List theDeliveryTerms;
theDeliveryTerms = (((this.deliveryTerms!= null)&&(!this.deliveryTerms.isEmpty()))?this.getDeliveryTerms():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "deliveryTerms", theDeliveryTerms), currentHashCode, theDeliveryTerms, ((this.deliveryTerms!= null)&&(!this.deliveryTerms.isEmpty())));
}
{
PaymentTermsType theBonusPaymentTerms;
theBonusPaymentTerms = this.getBonusPaymentTerms();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "bonusPaymentTerms", theBonusPaymentTerms), currentHashCode, theBonusPaymentTerms, (this.bonusPaymentTerms!= null));
}
{
PaymentTermsType theCommissionPaymentTerms;
theCommissionPaymentTerms = this.getCommissionPaymentTerms();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "commissionPaymentTerms", theCommissionPaymentTerms), currentHashCode, theCommissionPaymentTerms, (this.commissionPaymentTerms!= null));
}
{
PaymentTermsType thePenaltyPaymentTerms;
thePenaltyPaymentTerms = this.getPenaltyPaymentTerms();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "penaltyPaymentTerms", thePenaltyPaymentTerms), currentHashCode, thePenaltyPaymentTerms, (this.penaltyPaymentTerms!= null));
}
{
List theEnvironmentalEmission;
theEnvironmentalEmission = (((this.environmentalEmission!= null)&&(!this.environmentalEmission.isEmpty()))?this.getEnvironmentalEmission():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "environmentalEmission", theEnvironmentalEmission), currentHashCode, theEnvironmentalEmission, ((this.environmentalEmission!= null)&&(!this.environmentalEmission.isEmpty())));
}
{
List theNotificationRequirement;
theNotificationRequirement = (((this.notificationRequirement!= null)&&(!this.notificationRequirement.isEmpty()))?this.getNotificationRequirement():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "notificationRequirement", theNotificationRequirement), currentHashCode, theNotificationRequirement, ((this.notificationRequirement!= null)&&(!this.notificationRequirement.isEmpty())));
}
{
PaymentTermsType theServiceChargePaymentTerms;
theServiceChargePaymentTerms = this.getServiceChargePaymentTerms();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "serviceChargePaymentTerms", theServiceChargePaymentTerms), currentHashCode, theServiceChargePaymentTerms, (this.serviceChargePaymentTerms!= null));
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
}