oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.TransportScheduleType 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.ReferenceDateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ReferenceTimeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ReliabilityPercentType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.RemarksType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.SequenceNumericType;
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 TransportScheduleType complex type.
*
*
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
*
* <complexType name="TransportScheduleType">
* <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}SequenceNumeric"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ReferenceDate" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ReferenceTime" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ReliabilityPercent" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Remarks" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}StatusLocation"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ActualArrivalTransportEvent" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ActualDepartureTransportEvent" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}EstimatedDepartureTransportEvent" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}EstimatedArrivalTransportEvent" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PlannedDepartureTransportEvent" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PlannedArrivalTransportEvent" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TransportScheduleType", propOrder = {
"ublExtensions",
"sequenceNumeric",
"referenceDate",
"referenceTime",
"reliabilityPercent",
"remarks",
"statusLocation",
"actualArrivalTransportEvent",
"actualDepartureTransportEvent",
"estimatedDepartureTransportEvent",
"estimatedArrivalTransportEvent",
"plannedDepartureTransportEvent",
"plannedArrivalTransportEvent"
})
public class TransportScheduleType 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 = "SequenceNumeric", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true)
protected SequenceNumericType sequenceNumeric;
@XmlElement(name = "ReferenceDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected ReferenceDateType referenceDate;
@XmlElement(name = "ReferenceTime", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected ReferenceTimeType referenceTime;
@XmlElement(name = "ReliabilityPercent", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected ReliabilityPercentType reliabilityPercent;
@XmlElement(name = "Remarks", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected List remarks;
@XmlElement(name = "StatusLocation", required = true)
protected LocationType statusLocation;
@XmlElement(name = "ActualArrivalTransportEvent")
protected TransportEventType actualArrivalTransportEvent;
@XmlElement(name = "ActualDepartureTransportEvent")
protected TransportEventType actualDepartureTransportEvent;
@XmlElement(name = "EstimatedDepartureTransportEvent")
protected TransportEventType estimatedDepartureTransportEvent;
@XmlElement(name = "EstimatedArrivalTransportEvent")
protected TransportEventType estimatedArrivalTransportEvent;
@XmlElement(name = "PlannedDepartureTransportEvent")
protected TransportEventType plannedDepartureTransportEvent;
@XmlElement(name = "PlannedArrivalTransportEvent")
protected TransportEventType plannedArrivalTransportEvent;
/**
* 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 sequenceNumeric.
*
* @return
* possible object is
* {@link SequenceNumericType }
*
*/
public SequenceNumericType getSequenceNumeric() {
return sequenceNumeric;
}
/**
* Define el valor de la propiedad sequenceNumeric.
*
* @param value
* allowed object is
* {@link SequenceNumericType }
*
*/
public void setSequenceNumeric(SequenceNumericType value) {
this.sequenceNumeric = value;
}
/**
* Obtiene el valor de la propiedad referenceDate.
*
* @return
* possible object is
* {@link ReferenceDateType }
*
*/
public ReferenceDateType getReferenceDate() {
return referenceDate;
}
/**
* Define el valor de la propiedad referenceDate.
*
* @param value
* allowed object is
* {@link ReferenceDateType }
*
*/
public void setReferenceDate(ReferenceDateType value) {
this.referenceDate = value;
}
/**
* Obtiene el valor de la propiedad referenceTime.
*
* @return
* possible object is
* {@link ReferenceTimeType }
*
*/
public ReferenceTimeType getReferenceTime() {
return referenceTime;
}
/**
* Define el valor de la propiedad referenceTime.
*
* @param value
* allowed object is
* {@link ReferenceTimeType }
*
*/
public void setReferenceTime(ReferenceTimeType value) {
this.referenceTime = value;
}
/**
* Obtiene el valor de la propiedad reliabilityPercent.
*
* @return
* possible object is
* {@link ReliabilityPercentType }
*
*/
public ReliabilityPercentType getReliabilityPercent() {
return reliabilityPercent;
}
/**
* Define el valor de la propiedad reliabilityPercent.
*
* @param value
* allowed object is
* {@link ReliabilityPercentType }
*
*/
public void setReliabilityPercent(ReliabilityPercentType value) {
this.reliabilityPercent = value;
}
/**
* Gets the value of the remarks 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 remarks property.
*
*
* For example, to add a new item, do as follows:
*
* getRemarks().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RemarksType }
*
*
*/
public List getRemarks() {
if (remarks == null) {
remarks = new ArrayList();
}
return this.remarks;
}
/**
* Obtiene el valor de la propiedad statusLocation.
*
* @return
* possible object is
* {@link LocationType }
*
*/
public LocationType getStatusLocation() {
return statusLocation;
}
/**
* Define el valor de la propiedad statusLocation.
*
* @param value
* allowed object is
* {@link LocationType }
*
*/
public void setStatusLocation(LocationType value) {
this.statusLocation = value;
}
/**
* Obtiene el valor de la propiedad actualArrivalTransportEvent.
*
* @return
* possible object is
* {@link TransportEventType }
*
*/
public TransportEventType getActualArrivalTransportEvent() {
return actualArrivalTransportEvent;
}
/**
* Define el valor de la propiedad actualArrivalTransportEvent.
*
* @param value
* allowed object is
* {@link TransportEventType }
*
*/
public void setActualArrivalTransportEvent(TransportEventType value) {
this.actualArrivalTransportEvent = value;
}
/**
* Obtiene el valor de la propiedad actualDepartureTransportEvent.
*
* @return
* possible object is
* {@link TransportEventType }
*
*/
public TransportEventType getActualDepartureTransportEvent() {
return actualDepartureTransportEvent;
}
/**
* Define el valor de la propiedad actualDepartureTransportEvent.
*
* @param value
* allowed object is
* {@link TransportEventType }
*
*/
public void setActualDepartureTransportEvent(TransportEventType value) {
this.actualDepartureTransportEvent = value;
}
/**
* Obtiene el valor de la propiedad estimatedDepartureTransportEvent.
*
* @return
* possible object is
* {@link TransportEventType }
*
*/
public TransportEventType getEstimatedDepartureTransportEvent() {
return estimatedDepartureTransportEvent;
}
/**
* Define el valor de la propiedad estimatedDepartureTransportEvent.
*
* @param value
* allowed object is
* {@link TransportEventType }
*
*/
public void setEstimatedDepartureTransportEvent(TransportEventType value) {
this.estimatedDepartureTransportEvent = value;
}
/**
* Obtiene el valor de la propiedad estimatedArrivalTransportEvent.
*
* @return
* possible object is
* {@link TransportEventType }
*
*/
public TransportEventType getEstimatedArrivalTransportEvent() {
return estimatedArrivalTransportEvent;
}
/**
* Define el valor de la propiedad estimatedArrivalTransportEvent.
*
* @param value
* allowed object is
* {@link TransportEventType }
*
*/
public void setEstimatedArrivalTransportEvent(TransportEventType value) {
this.estimatedArrivalTransportEvent = value;
}
/**
* Obtiene el valor de la propiedad plannedDepartureTransportEvent.
*
* @return
* possible object is
* {@link TransportEventType }
*
*/
public TransportEventType getPlannedDepartureTransportEvent() {
return plannedDepartureTransportEvent;
}
/**
* Define el valor de la propiedad plannedDepartureTransportEvent.
*
* @param value
* allowed object is
* {@link TransportEventType }
*
*/
public void setPlannedDepartureTransportEvent(TransportEventType value) {
this.plannedDepartureTransportEvent = value;
}
/**
* Obtiene el valor de la propiedad plannedArrivalTransportEvent.
*
* @return
* possible object is
* {@link TransportEventType }
*
*/
public TransportEventType getPlannedArrivalTransportEvent() {
return plannedArrivalTransportEvent;
}
/**
* Define el valor de la propiedad plannedArrivalTransportEvent.
*
* @param value
* allowed object is
* {@link TransportEventType }
*
*/
public void setPlannedArrivalTransportEvent(TransportEventType value) {
this.plannedArrivalTransportEvent = 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));
}
{
SequenceNumericType theSequenceNumeric;
theSequenceNumeric = this.getSequenceNumeric();
strategy.appendField(locator, this, "sequenceNumeric", buffer, theSequenceNumeric, (this.sequenceNumeric!= null));
}
{
ReferenceDateType theReferenceDate;
theReferenceDate = this.getReferenceDate();
strategy.appendField(locator, this, "referenceDate", buffer, theReferenceDate, (this.referenceDate!= null));
}
{
ReferenceTimeType theReferenceTime;
theReferenceTime = this.getReferenceTime();
strategy.appendField(locator, this, "referenceTime", buffer, theReferenceTime, (this.referenceTime!= null));
}
{
ReliabilityPercentType theReliabilityPercent;
theReliabilityPercent = this.getReliabilityPercent();
strategy.appendField(locator, this, "reliabilityPercent", buffer, theReliabilityPercent, (this.reliabilityPercent!= null));
}
{
List theRemarks;
theRemarks = (((this.remarks!= null)&&(!this.remarks.isEmpty()))?this.getRemarks():null);
strategy.appendField(locator, this, "remarks", buffer, theRemarks, ((this.remarks!= null)&&(!this.remarks.isEmpty())));
}
{
LocationType theStatusLocation;
theStatusLocation = this.getStatusLocation();
strategy.appendField(locator, this, "statusLocation", buffer, theStatusLocation, (this.statusLocation!= null));
}
{
TransportEventType theActualArrivalTransportEvent;
theActualArrivalTransportEvent = this.getActualArrivalTransportEvent();
strategy.appendField(locator, this, "actualArrivalTransportEvent", buffer, theActualArrivalTransportEvent, (this.actualArrivalTransportEvent!= null));
}
{
TransportEventType theActualDepartureTransportEvent;
theActualDepartureTransportEvent = this.getActualDepartureTransportEvent();
strategy.appendField(locator, this, "actualDepartureTransportEvent", buffer, theActualDepartureTransportEvent, (this.actualDepartureTransportEvent!= null));
}
{
TransportEventType theEstimatedDepartureTransportEvent;
theEstimatedDepartureTransportEvent = this.getEstimatedDepartureTransportEvent();
strategy.appendField(locator, this, "estimatedDepartureTransportEvent", buffer, theEstimatedDepartureTransportEvent, (this.estimatedDepartureTransportEvent!= null));
}
{
TransportEventType theEstimatedArrivalTransportEvent;
theEstimatedArrivalTransportEvent = this.getEstimatedArrivalTransportEvent();
strategy.appendField(locator, this, "estimatedArrivalTransportEvent", buffer, theEstimatedArrivalTransportEvent, (this.estimatedArrivalTransportEvent!= null));
}
{
TransportEventType thePlannedDepartureTransportEvent;
thePlannedDepartureTransportEvent = this.getPlannedDepartureTransportEvent();
strategy.appendField(locator, this, "plannedDepartureTransportEvent", buffer, thePlannedDepartureTransportEvent, (this.plannedDepartureTransportEvent!= null));
}
{
TransportEventType thePlannedArrivalTransportEvent;
thePlannedArrivalTransportEvent = this.getPlannedArrivalTransportEvent();
strategy.appendField(locator, this, "plannedArrivalTransportEvent", buffer, thePlannedArrivalTransportEvent, (this.plannedArrivalTransportEvent!= 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 TransportScheduleType that = ((TransportScheduleType) 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;
}
}
{
SequenceNumericType lhsSequenceNumeric;
lhsSequenceNumeric = this.getSequenceNumeric();
SequenceNumericType rhsSequenceNumeric;
rhsSequenceNumeric = that.getSequenceNumeric();
if (!strategy.equals(LocatorUtils.property(thisLocator, "sequenceNumeric", lhsSequenceNumeric), LocatorUtils.property(thatLocator, "sequenceNumeric", rhsSequenceNumeric), lhsSequenceNumeric, rhsSequenceNumeric, (this.sequenceNumeric!= null), (that.sequenceNumeric!= null))) {
return false;
}
}
{
ReferenceDateType lhsReferenceDate;
lhsReferenceDate = this.getReferenceDate();
ReferenceDateType rhsReferenceDate;
rhsReferenceDate = that.getReferenceDate();
if (!strategy.equals(LocatorUtils.property(thisLocator, "referenceDate", lhsReferenceDate), LocatorUtils.property(thatLocator, "referenceDate", rhsReferenceDate), lhsReferenceDate, rhsReferenceDate, (this.referenceDate!= null), (that.referenceDate!= null))) {
return false;
}
}
{
ReferenceTimeType lhsReferenceTime;
lhsReferenceTime = this.getReferenceTime();
ReferenceTimeType rhsReferenceTime;
rhsReferenceTime = that.getReferenceTime();
if (!strategy.equals(LocatorUtils.property(thisLocator, "referenceTime", lhsReferenceTime), LocatorUtils.property(thatLocator, "referenceTime", rhsReferenceTime), lhsReferenceTime, rhsReferenceTime, (this.referenceTime!= null), (that.referenceTime!= null))) {
return false;
}
}
{
ReliabilityPercentType lhsReliabilityPercent;
lhsReliabilityPercent = this.getReliabilityPercent();
ReliabilityPercentType rhsReliabilityPercent;
rhsReliabilityPercent = that.getReliabilityPercent();
if (!strategy.equals(LocatorUtils.property(thisLocator, "reliabilityPercent", lhsReliabilityPercent), LocatorUtils.property(thatLocator, "reliabilityPercent", rhsReliabilityPercent), lhsReliabilityPercent, rhsReliabilityPercent, (this.reliabilityPercent!= null), (that.reliabilityPercent!= null))) {
return false;
}
}
{
List lhsRemarks;
lhsRemarks = (((this.remarks!= null)&&(!this.remarks.isEmpty()))?this.getRemarks():null);
List rhsRemarks;
rhsRemarks = (((that.remarks!= null)&&(!that.remarks.isEmpty()))?that.getRemarks():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "remarks", lhsRemarks), LocatorUtils.property(thatLocator, "remarks", rhsRemarks), lhsRemarks, rhsRemarks, ((this.remarks!= null)&&(!this.remarks.isEmpty())), ((that.remarks!= null)&&(!that.remarks.isEmpty())))) {
return false;
}
}
{
LocationType lhsStatusLocation;
lhsStatusLocation = this.getStatusLocation();
LocationType rhsStatusLocation;
rhsStatusLocation = that.getStatusLocation();
if (!strategy.equals(LocatorUtils.property(thisLocator, "statusLocation", lhsStatusLocation), LocatorUtils.property(thatLocator, "statusLocation", rhsStatusLocation), lhsStatusLocation, rhsStatusLocation, (this.statusLocation!= null), (that.statusLocation!= null))) {
return false;
}
}
{
TransportEventType lhsActualArrivalTransportEvent;
lhsActualArrivalTransportEvent = this.getActualArrivalTransportEvent();
TransportEventType rhsActualArrivalTransportEvent;
rhsActualArrivalTransportEvent = that.getActualArrivalTransportEvent();
if (!strategy.equals(LocatorUtils.property(thisLocator, "actualArrivalTransportEvent", lhsActualArrivalTransportEvent), LocatorUtils.property(thatLocator, "actualArrivalTransportEvent", rhsActualArrivalTransportEvent), lhsActualArrivalTransportEvent, rhsActualArrivalTransportEvent, (this.actualArrivalTransportEvent!= null), (that.actualArrivalTransportEvent!= null))) {
return false;
}
}
{
TransportEventType lhsActualDepartureTransportEvent;
lhsActualDepartureTransportEvent = this.getActualDepartureTransportEvent();
TransportEventType rhsActualDepartureTransportEvent;
rhsActualDepartureTransportEvent = that.getActualDepartureTransportEvent();
if (!strategy.equals(LocatorUtils.property(thisLocator, "actualDepartureTransportEvent", lhsActualDepartureTransportEvent), LocatorUtils.property(thatLocator, "actualDepartureTransportEvent", rhsActualDepartureTransportEvent), lhsActualDepartureTransportEvent, rhsActualDepartureTransportEvent, (this.actualDepartureTransportEvent!= null), (that.actualDepartureTransportEvent!= null))) {
return false;
}
}
{
TransportEventType lhsEstimatedDepartureTransportEvent;
lhsEstimatedDepartureTransportEvent = this.getEstimatedDepartureTransportEvent();
TransportEventType rhsEstimatedDepartureTransportEvent;
rhsEstimatedDepartureTransportEvent = that.getEstimatedDepartureTransportEvent();
if (!strategy.equals(LocatorUtils.property(thisLocator, "estimatedDepartureTransportEvent", lhsEstimatedDepartureTransportEvent), LocatorUtils.property(thatLocator, "estimatedDepartureTransportEvent", rhsEstimatedDepartureTransportEvent), lhsEstimatedDepartureTransportEvent, rhsEstimatedDepartureTransportEvent, (this.estimatedDepartureTransportEvent!= null), (that.estimatedDepartureTransportEvent!= null))) {
return false;
}
}
{
TransportEventType lhsEstimatedArrivalTransportEvent;
lhsEstimatedArrivalTransportEvent = this.getEstimatedArrivalTransportEvent();
TransportEventType rhsEstimatedArrivalTransportEvent;
rhsEstimatedArrivalTransportEvent = that.getEstimatedArrivalTransportEvent();
if (!strategy.equals(LocatorUtils.property(thisLocator, "estimatedArrivalTransportEvent", lhsEstimatedArrivalTransportEvent), LocatorUtils.property(thatLocator, "estimatedArrivalTransportEvent", rhsEstimatedArrivalTransportEvent), lhsEstimatedArrivalTransportEvent, rhsEstimatedArrivalTransportEvent, (this.estimatedArrivalTransportEvent!= null), (that.estimatedArrivalTransportEvent!= null))) {
return false;
}
}
{
TransportEventType lhsPlannedDepartureTransportEvent;
lhsPlannedDepartureTransportEvent = this.getPlannedDepartureTransportEvent();
TransportEventType rhsPlannedDepartureTransportEvent;
rhsPlannedDepartureTransportEvent = that.getPlannedDepartureTransportEvent();
if (!strategy.equals(LocatorUtils.property(thisLocator, "plannedDepartureTransportEvent", lhsPlannedDepartureTransportEvent), LocatorUtils.property(thatLocator, "plannedDepartureTransportEvent", rhsPlannedDepartureTransportEvent), lhsPlannedDepartureTransportEvent, rhsPlannedDepartureTransportEvent, (this.plannedDepartureTransportEvent!= null), (that.plannedDepartureTransportEvent!= null))) {
return false;
}
}
{
TransportEventType lhsPlannedArrivalTransportEvent;
lhsPlannedArrivalTransportEvent = this.getPlannedArrivalTransportEvent();
TransportEventType rhsPlannedArrivalTransportEvent;
rhsPlannedArrivalTransportEvent = that.getPlannedArrivalTransportEvent();
if (!strategy.equals(LocatorUtils.property(thisLocator, "plannedArrivalTransportEvent", lhsPlannedArrivalTransportEvent), LocatorUtils.property(thatLocator, "plannedArrivalTransportEvent", rhsPlannedArrivalTransportEvent), lhsPlannedArrivalTransportEvent, rhsPlannedArrivalTransportEvent, (this.plannedArrivalTransportEvent!= null), (that.plannedArrivalTransportEvent!= 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));
}
{
SequenceNumericType theSequenceNumeric;
theSequenceNumeric = this.getSequenceNumeric();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sequenceNumeric", theSequenceNumeric), currentHashCode, theSequenceNumeric, (this.sequenceNumeric!= null));
}
{
ReferenceDateType theReferenceDate;
theReferenceDate = this.getReferenceDate();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "referenceDate", theReferenceDate), currentHashCode, theReferenceDate, (this.referenceDate!= null));
}
{
ReferenceTimeType theReferenceTime;
theReferenceTime = this.getReferenceTime();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "referenceTime", theReferenceTime), currentHashCode, theReferenceTime, (this.referenceTime!= null));
}
{
ReliabilityPercentType theReliabilityPercent;
theReliabilityPercent = this.getReliabilityPercent();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "reliabilityPercent", theReliabilityPercent), currentHashCode, theReliabilityPercent, (this.reliabilityPercent!= null));
}
{
List theRemarks;
theRemarks = (((this.remarks!= null)&&(!this.remarks.isEmpty()))?this.getRemarks():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "remarks", theRemarks), currentHashCode, theRemarks, ((this.remarks!= null)&&(!this.remarks.isEmpty())));
}
{
LocationType theStatusLocation;
theStatusLocation = this.getStatusLocation();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "statusLocation", theStatusLocation), currentHashCode, theStatusLocation, (this.statusLocation!= null));
}
{
TransportEventType theActualArrivalTransportEvent;
theActualArrivalTransportEvent = this.getActualArrivalTransportEvent();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "actualArrivalTransportEvent", theActualArrivalTransportEvent), currentHashCode, theActualArrivalTransportEvent, (this.actualArrivalTransportEvent!= null));
}
{
TransportEventType theActualDepartureTransportEvent;
theActualDepartureTransportEvent = this.getActualDepartureTransportEvent();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "actualDepartureTransportEvent", theActualDepartureTransportEvent), currentHashCode, theActualDepartureTransportEvent, (this.actualDepartureTransportEvent!= null));
}
{
TransportEventType theEstimatedDepartureTransportEvent;
theEstimatedDepartureTransportEvent = this.getEstimatedDepartureTransportEvent();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "estimatedDepartureTransportEvent", theEstimatedDepartureTransportEvent), currentHashCode, theEstimatedDepartureTransportEvent, (this.estimatedDepartureTransportEvent!= null));
}
{
TransportEventType theEstimatedArrivalTransportEvent;
theEstimatedArrivalTransportEvent = this.getEstimatedArrivalTransportEvent();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "estimatedArrivalTransportEvent", theEstimatedArrivalTransportEvent), currentHashCode, theEstimatedArrivalTransportEvent, (this.estimatedArrivalTransportEvent!= null));
}
{
TransportEventType thePlannedDepartureTransportEvent;
thePlannedDepartureTransportEvent = this.getPlannedDepartureTransportEvent();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "plannedDepartureTransportEvent", thePlannedDepartureTransportEvent), currentHashCode, thePlannedDepartureTransportEvent, (this.plannedDepartureTransportEvent!= null));
}
{
TransportEventType thePlannedArrivalTransportEvent;
thePlannedArrivalTransportEvent = this.getPlannedArrivalTransportEvent();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "plannedArrivalTransportEvent", thePlannedArrivalTransportEvent), currentHashCode, thePlannedArrivalTransportEvent, (this.plannedArrivalTransportEvent!= null));
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
}