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

oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.ReceiptLineType Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2016.07.19 at 05:08:29 PM CEST 
//


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.IDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.NoteType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.OversupplyQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.QuantityDiscrepancyCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ReceivedDateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ReceivedQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.RejectActionCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.RejectReasonCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.RejectReasonType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.RejectedQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ShortQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ShortageActionCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TimingComplaintCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TimingComplaintType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.UUIDType;
import org.jvnet.jaxb2_commons.lang.Equals;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
import org.jvnet.jaxb2_commons.lang.HashCode;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
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.ToString;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;


/**
 * 

Java class for ReceiptLineType complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="ReceiptLineType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID"/>
 *         <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}Note" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ReceivedQuantity" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ShortQuantity" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ShortageActionCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RejectedQuantity" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RejectReasonCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RejectReason" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RejectActionCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}QuantityDiscrepancyCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}OversupplyQuantity" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ReceivedDate" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TimingComplaintCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TimingComplaint" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}OrderLineReference" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DespatchLineReference" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DocumentReference" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Item" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Shipment" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ReceiptLineType", propOrder = { "id", "uuid", "note", "receivedQuantity", "shortQuantity", "shortageActionCode", "rejectedQuantity", "rejectReasonCode", "rejectReason", "rejectActionCode", "quantityDiscrepancyCode", "oversupplyQuantity", "receivedDate", "timingComplaintCode", "timingComplaint", "orderLineReference", "despatchLineReference", "documentReference", "item", "shipment" }) public class ReceiptLineType implements Serializable, Equals, HashCode, ToString { private final static long serialVersionUID = 100L; @XmlElement(name = "ID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true) protected IDType id; @XmlElement(name = "UUID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected UUIDType uuid; @XmlElement(name = "Note", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected List note; @XmlElement(name = "ReceivedQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected ReceivedQuantityType receivedQuantity; @XmlElement(name = "ShortQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected ShortQuantityType shortQuantity; @XmlElement(name = "ShortageActionCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected ShortageActionCodeType shortageActionCode; @XmlElement(name = "RejectedQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected RejectedQuantityType rejectedQuantity; @XmlElement(name = "RejectReasonCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected RejectReasonCodeType rejectReasonCode; @XmlElement(name = "RejectReason", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected List rejectReason; @XmlElement(name = "RejectActionCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected RejectActionCodeType rejectActionCode; @XmlElement(name = "QuantityDiscrepancyCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected QuantityDiscrepancyCodeType quantityDiscrepancyCode; @XmlElement(name = "OversupplyQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected OversupplyQuantityType oversupplyQuantity; @XmlElement(name = "ReceivedDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected ReceivedDateType receivedDate; @XmlElement(name = "TimingComplaintCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected TimingComplaintCodeType timingComplaintCode; @XmlElement(name = "TimingComplaint", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected TimingComplaintType timingComplaint; @XmlElement(name = "OrderLineReference") protected OrderLineReferenceType orderLineReference; @XmlElement(name = "DespatchLineReference") protected List despatchLineReference; @XmlElement(name = "DocumentReference") protected List documentReference; @XmlElement(name = "Item") protected List item; @XmlElement(name = "Shipment") protected List shipment; /** * Gets the value of the id property. * * @return * possible object is * {@link IDType } * */ public IDType getID() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link IDType } * */ public void setID(IDType value) { this.id = value; } /** * Gets the value of the uuid property. * * @return * possible object is * {@link UUIDType } * */ public UUIDType getUUID() { return uuid; } /** * Sets the value of the uuid property. * * @param value * allowed object is * {@link UUIDType } * */ public void setUUID(UUIDType value) { this.uuid = value; } /** * Gets the value of the note property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the note property. * *

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

     *    getNote().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NoteType } * * */ public List getNote() { if (note == null) { note = new ArrayList(); } return this.note; } /** * Gets the value of the receivedQuantity property. * * @return * possible object is * {@link ReceivedQuantityType } * */ public ReceivedQuantityType getReceivedQuantity() { return receivedQuantity; } /** * Sets the value of the receivedQuantity property. * * @param value * allowed object is * {@link ReceivedQuantityType } * */ public void setReceivedQuantity(ReceivedQuantityType value) { this.receivedQuantity = value; } /** * Gets the value of the shortQuantity property. * * @return * possible object is * {@link ShortQuantityType } * */ public ShortQuantityType getShortQuantity() { return shortQuantity; } /** * Sets the value of the shortQuantity property. * * @param value * allowed object is * {@link ShortQuantityType } * */ public void setShortQuantity(ShortQuantityType value) { this.shortQuantity = value; } /** * Gets the value of the shortageActionCode property. * * @return * possible object is * {@link ShortageActionCodeType } * */ public ShortageActionCodeType getShortageActionCode() { return shortageActionCode; } /** * Sets the value of the shortageActionCode property. * * @param value * allowed object is * {@link ShortageActionCodeType } * */ public void setShortageActionCode(ShortageActionCodeType value) { this.shortageActionCode = value; } /** * Gets the value of the rejectedQuantity property. * * @return * possible object is * {@link RejectedQuantityType } * */ public RejectedQuantityType getRejectedQuantity() { return rejectedQuantity; } /** * Sets the value of the rejectedQuantity property. * * @param value * allowed object is * {@link RejectedQuantityType } * */ public void setRejectedQuantity(RejectedQuantityType value) { this.rejectedQuantity = value; } /** * Gets the value of the rejectReasonCode property. * * @return * possible object is * {@link RejectReasonCodeType } * */ public RejectReasonCodeType getRejectReasonCode() { return rejectReasonCode; } /** * Sets the value of the rejectReasonCode property. * * @param value * allowed object is * {@link RejectReasonCodeType } * */ public void setRejectReasonCode(RejectReasonCodeType value) { this.rejectReasonCode = value; } /** * Gets the value of the rejectReason 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 rejectReason property. * *

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

     *    getRejectReason().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link RejectReasonType } * * */ public List getRejectReason() { if (rejectReason == null) { rejectReason = new ArrayList(); } return this.rejectReason; } /** * Gets the value of the rejectActionCode property. * * @return * possible object is * {@link RejectActionCodeType } * */ public RejectActionCodeType getRejectActionCode() { return rejectActionCode; } /** * Sets the value of the rejectActionCode property. * * @param value * allowed object is * {@link RejectActionCodeType } * */ public void setRejectActionCode(RejectActionCodeType value) { this.rejectActionCode = value; } /** * Gets the value of the quantityDiscrepancyCode property. * * @return * possible object is * {@link QuantityDiscrepancyCodeType } * */ public QuantityDiscrepancyCodeType getQuantityDiscrepancyCode() { return quantityDiscrepancyCode; } /** * Sets the value of the quantityDiscrepancyCode property. * * @param value * allowed object is * {@link QuantityDiscrepancyCodeType } * */ public void setQuantityDiscrepancyCode(QuantityDiscrepancyCodeType value) { this.quantityDiscrepancyCode = value; } /** * Gets the value of the oversupplyQuantity property. * * @return * possible object is * {@link OversupplyQuantityType } * */ public OversupplyQuantityType getOversupplyQuantity() { return oversupplyQuantity; } /** * Sets the value of the oversupplyQuantity property. * * @param value * allowed object is * {@link OversupplyQuantityType } * */ public void setOversupplyQuantity(OversupplyQuantityType value) { this.oversupplyQuantity = value; } /** * Gets the value of the receivedDate property. * * @return * possible object is * {@link ReceivedDateType } * */ public ReceivedDateType getReceivedDate() { return receivedDate; } /** * Sets the value of the receivedDate property. * * @param value * allowed object is * {@link ReceivedDateType } * */ public void setReceivedDate(ReceivedDateType value) { this.receivedDate = value; } /** * Gets the value of the timingComplaintCode property. * * @return * possible object is * {@link TimingComplaintCodeType } * */ public TimingComplaintCodeType getTimingComplaintCode() { return timingComplaintCode; } /** * Sets the value of the timingComplaintCode property. * * @param value * allowed object is * {@link TimingComplaintCodeType } * */ public void setTimingComplaintCode(TimingComplaintCodeType value) { this.timingComplaintCode = value; } /** * Gets the value of the timingComplaint property. * * @return * possible object is * {@link TimingComplaintType } * */ public TimingComplaintType getTimingComplaint() { return timingComplaint; } /** * Sets the value of the timingComplaint property. * * @param value * allowed object is * {@link TimingComplaintType } * */ public void setTimingComplaint(TimingComplaintType value) { this.timingComplaint = value; } /** * Gets the value of the orderLineReference property. * * @return * possible object is * {@link OrderLineReferenceType } * */ public OrderLineReferenceType getOrderLineReference() { return orderLineReference; } /** * Sets the value of the orderLineReference property. * * @param value * allowed object is * {@link OrderLineReferenceType } * */ public void setOrderLineReference(OrderLineReferenceType value) { this.orderLineReference = value; } /** * Gets the value of the despatchLineReference 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 despatchLineReference property. * *

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

     *    getDespatchLineReference().add(newItem);
     * 
* * *

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

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

     *    getDocumentReference().add(newItem);
     * 
* * *

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

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

     *    getItem().add(newItem);
     * 
* * *

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

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

     *    getShipment().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ShipmentType } * * */ public List getShipment() { if (shipment == null) { shipment = new ArrayList(); } return this.shipment; } public String toString() { final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { { IDType theID; theID = this.getID(); strategy.appendField(locator, this, "id", buffer, theID); } { UUIDType theUUID; theUUID = this.getUUID(); strategy.appendField(locator, this, "uuid", buffer, theUUID); } { List theNote; theNote = (((this.note!= null)&&(!this.note.isEmpty()))?this.getNote():null); strategy.appendField(locator, this, "note", buffer, theNote); } { ReceivedQuantityType theReceivedQuantity; theReceivedQuantity = this.getReceivedQuantity(); strategy.appendField(locator, this, "receivedQuantity", buffer, theReceivedQuantity); } { ShortQuantityType theShortQuantity; theShortQuantity = this.getShortQuantity(); strategy.appendField(locator, this, "shortQuantity", buffer, theShortQuantity); } { ShortageActionCodeType theShortageActionCode; theShortageActionCode = this.getShortageActionCode(); strategy.appendField(locator, this, "shortageActionCode", buffer, theShortageActionCode); } { RejectedQuantityType theRejectedQuantity; theRejectedQuantity = this.getRejectedQuantity(); strategy.appendField(locator, this, "rejectedQuantity", buffer, theRejectedQuantity); } { RejectReasonCodeType theRejectReasonCode; theRejectReasonCode = this.getRejectReasonCode(); strategy.appendField(locator, this, "rejectReasonCode", buffer, theRejectReasonCode); } { List theRejectReason; theRejectReason = (((this.rejectReason!= null)&&(!this.rejectReason.isEmpty()))?this.getRejectReason():null); strategy.appendField(locator, this, "rejectReason", buffer, theRejectReason); } { RejectActionCodeType theRejectActionCode; theRejectActionCode = this.getRejectActionCode(); strategy.appendField(locator, this, "rejectActionCode", buffer, theRejectActionCode); } { QuantityDiscrepancyCodeType theQuantityDiscrepancyCode; theQuantityDiscrepancyCode = this.getQuantityDiscrepancyCode(); strategy.appendField(locator, this, "quantityDiscrepancyCode", buffer, theQuantityDiscrepancyCode); } { OversupplyQuantityType theOversupplyQuantity; theOversupplyQuantity = this.getOversupplyQuantity(); strategy.appendField(locator, this, "oversupplyQuantity", buffer, theOversupplyQuantity); } { ReceivedDateType theReceivedDate; theReceivedDate = this.getReceivedDate(); strategy.appendField(locator, this, "receivedDate", buffer, theReceivedDate); } { TimingComplaintCodeType theTimingComplaintCode; theTimingComplaintCode = this.getTimingComplaintCode(); strategy.appendField(locator, this, "timingComplaintCode", buffer, theTimingComplaintCode); } { TimingComplaintType theTimingComplaint; theTimingComplaint = this.getTimingComplaint(); strategy.appendField(locator, this, "timingComplaint", buffer, theTimingComplaint); } { OrderLineReferenceType theOrderLineReference; theOrderLineReference = this.getOrderLineReference(); strategy.appendField(locator, this, "orderLineReference", buffer, theOrderLineReference); } { List theDespatchLineReference; theDespatchLineReference = (((this.despatchLineReference!= null)&&(!this.despatchLineReference.isEmpty()))?this.getDespatchLineReference():null); strategy.appendField(locator, this, "despatchLineReference", buffer, theDespatchLineReference); } { List theDocumentReference; theDocumentReference = (((this.documentReference!= null)&&(!this.documentReference.isEmpty()))?this.getDocumentReference():null); strategy.appendField(locator, this, "documentReference", buffer, theDocumentReference); } { List theItem; theItem = (((this.item!= null)&&(!this.item.isEmpty()))?this.getItem():null); strategy.appendField(locator, this, "item", buffer, theItem); } { List theShipment; theShipment = (((this.shipment!= null)&&(!this.shipment.isEmpty()))?this.getShipment():null); strategy.appendField(locator, this, "shipment", buffer, theShipment); } return buffer; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof ReceiptLineType)) { return false; } if (this == object) { return true; } final ReceiptLineType that = ((ReceiptLineType) object); { 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)) { 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)) { return false; } } { List lhsNote; lhsNote = (((this.note!= null)&&(!this.note.isEmpty()))?this.getNote():null); List rhsNote; rhsNote = (((that.note!= null)&&(!that.note.isEmpty()))?that.getNote():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "note", lhsNote), LocatorUtils.property(thatLocator, "note", rhsNote), lhsNote, rhsNote)) { return false; } } { ReceivedQuantityType lhsReceivedQuantity; lhsReceivedQuantity = this.getReceivedQuantity(); ReceivedQuantityType rhsReceivedQuantity; rhsReceivedQuantity = that.getReceivedQuantity(); if (!strategy.equals(LocatorUtils.property(thisLocator, "receivedQuantity", lhsReceivedQuantity), LocatorUtils.property(thatLocator, "receivedQuantity", rhsReceivedQuantity), lhsReceivedQuantity, rhsReceivedQuantity)) { return false; } } { ShortQuantityType lhsShortQuantity; lhsShortQuantity = this.getShortQuantity(); ShortQuantityType rhsShortQuantity; rhsShortQuantity = that.getShortQuantity(); if (!strategy.equals(LocatorUtils.property(thisLocator, "shortQuantity", lhsShortQuantity), LocatorUtils.property(thatLocator, "shortQuantity", rhsShortQuantity), lhsShortQuantity, rhsShortQuantity)) { return false; } } { ShortageActionCodeType lhsShortageActionCode; lhsShortageActionCode = this.getShortageActionCode(); ShortageActionCodeType rhsShortageActionCode; rhsShortageActionCode = that.getShortageActionCode(); if (!strategy.equals(LocatorUtils.property(thisLocator, "shortageActionCode", lhsShortageActionCode), LocatorUtils.property(thatLocator, "shortageActionCode", rhsShortageActionCode), lhsShortageActionCode, rhsShortageActionCode)) { return false; } } { RejectedQuantityType lhsRejectedQuantity; lhsRejectedQuantity = this.getRejectedQuantity(); RejectedQuantityType rhsRejectedQuantity; rhsRejectedQuantity = that.getRejectedQuantity(); if (!strategy.equals(LocatorUtils.property(thisLocator, "rejectedQuantity", lhsRejectedQuantity), LocatorUtils.property(thatLocator, "rejectedQuantity", rhsRejectedQuantity), lhsRejectedQuantity, rhsRejectedQuantity)) { return false; } } { RejectReasonCodeType lhsRejectReasonCode; lhsRejectReasonCode = this.getRejectReasonCode(); RejectReasonCodeType rhsRejectReasonCode; rhsRejectReasonCode = that.getRejectReasonCode(); if (!strategy.equals(LocatorUtils.property(thisLocator, "rejectReasonCode", lhsRejectReasonCode), LocatorUtils.property(thatLocator, "rejectReasonCode", rhsRejectReasonCode), lhsRejectReasonCode, rhsRejectReasonCode)) { return false; } } { List lhsRejectReason; lhsRejectReason = (((this.rejectReason!= null)&&(!this.rejectReason.isEmpty()))?this.getRejectReason():null); List rhsRejectReason; rhsRejectReason = (((that.rejectReason!= null)&&(!that.rejectReason.isEmpty()))?that.getRejectReason():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "rejectReason", lhsRejectReason), LocatorUtils.property(thatLocator, "rejectReason", rhsRejectReason), lhsRejectReason, rhsRejectReason)) { return false; } } { RejectActionCodeType lhsRejectActionCode; lhsRejectActionCode = this.getRejectActionCode(); RejectActionCodeType rhsRejectActionCode; rhsRejectActionCode = that.getRejectActionCode(); if (!strategy.equals(LocatorUtils.property(thisLocator, "rejectActionCode", lhsRejectActionCode), LocatorUtils.property(thatLocator, "rejectActionCode", rhsRejectActionCode), lhsRejectActionCode, rhsRejectActionCode)) { return false; } } { QuantityDiscrepancyCodeType lhsQuantityDiscrepancyCode; lhsQuantityDiscrepancyCode = this.getQuantityDiscrepancyCode(); QuantityDiscrepancyCodeType rhsQuantityDiscrepancyCode; rhsQuantityDiscrepancyCode = that.getQuantityDiscrepancyCode(); if (!strategy.equals(LocatorUtils.property(thisLocator, "quantityDiscrepancyCode", lhsQuantityDiscrepancyCode), LocatorUtils.property(thatLocator, "quantityDiscrepancyCode", rhsQuantityDiscrepancyCode), lhsQuantityDiscrepancyCode, rhsQuantityDiscrepancyCode)) { return false; } } { OversupplyQuantityType lhsOversupplyQuantity; lhsOversupplyQuantity = this.getOversupplyQuantity(); OversupplyQuantityType rhsOversupplyQuantity; rhsOversupplyQuantity = that.getOversupplyQuantity(); if (!strategy.equals(LocatorUtils.property(thisLocator, "oversupplyQuantity", lhsOversupplyQuantity), LocatorUtils.property(thatLocator, "oversupplyQuantity", rhsOversupplyQuantity), lhsOversupplyQuantity, rhsOversupplyQuantity)) { return false; } } { ReceivedDateType lhsReceivedDate; lhsReceivedDate = this.getReceivedDate(); ReceivedDateType rhsReceivedDate; rhsReceivedDate = that.getReceivedDate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "receivedDate", lhsReceivedDate), LocatorUtils.property(thatLocator, "receivedDate", rhsReceivedDate), lhsReceivedDate, rhsReceivedDate)) { return false; } } { TimingComplaintCodeType lhsTimingComplaintCode; lhsTimingComplaintCode = this.getTimingComplaintCode(); TimingComplaintCodeType rhsTimingComplaintCode; rhsTimingComplaintCode = that.getTimingComplaintCode(); if (!strategy.equals(LocatorUtils.property(thisLocator, "timingComplaintCode", lhsTimingComplaintCode), LocatorUtils.property(thatLocator, "timingComplaintCode", rhsTimingComplaintCode), lhsTimingComplaintCode, rhsTimingComplaintCode)) { return false; } } { TimingComplaintType lhsTimingComplaint; lhsTimingComplaint = this.getTimingComplaint(); TimingComplaintType rhsTimingComplaint; rhsTimingComplaint = that.getTimingComplaint(); if (!strategy.equals(LocatorUtils.property(thisLocator, "timingComplaint", lhsTimingComplaint), LocatorUtils.property(thatLocator, "timingComplaint", rhsTimingComplaint), lhsTimingComplaint, rhsTimingComplaint)) { return false; } } { OrderLineReferenceType lhsOrderLineReference; lhsOrderLineReference = this.getOrderLineReference(); OrderLineReferenceType rhsOrderLineReference; rhsOrderLineReference = that.getOrderLineReference(); if (!strategy.equals(LocatorUtils.property(thisLocator, "orderLineReference", lhsOrderLineReference), LocatorUtils.property(thatLocator, "orderLineReference", rhsOrderLineReference), lhsOrderLineReference, rhsOrderLineReference)) { return false; } } { List lhsDespatchLineReference; lhsDespatchLineReference = (((this.despatchLineReference!= null)&&(!this.despatchLineReference.isEmpty()))?this.getDespatchLineReference():null); List rhsDespatchLineReference; rhsDespatchLineReference = (((that.despatchLineReference!= null)&&(!that.despatchLineReference.isEmpty()))?that.getDespatchLineReference():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "despatchLineReference", lhsDespatchLineReference), LocatorUtils.property(thatLocator, "despatchLineReference", rhsDespatchLineReference), lhsDespatchLineReference, rhsDespatchLineReference)) { return false; } } { List lhsDocumentReference; lhsDocumentReference = (((this.documentReference!= null)&&(!this.documentReference.isEmpty()))?this.getDocumentReference():null); List rhsDocumentReference; rhsDocumentReference = (((that.documentReference!= null)&&(!that.documentReference.isEmpty()))?that.getDocumentReference():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "documentReference", lhsDocumentReference), LocatorUtils.property(thatLocator, "documentReference", rhsDocumentReference), lhsDocumentReference, rhsDocumentReference)) { return false; } } { List lhsItem; lhsItem = (((this.item!= null)&&(!this.item.isEmpty()))?this.getItem():null); List rhsItem; rhsItem = (((that.item!= null)&&(!that.item.isEmpty()))?that.getItem():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "item", lhsItem), LocatorUtils.property(thatLocator, "item", rhsItem), lhsItem, rhsItem)) { return false; } } { List lhsShipment; lhsShipment = (((this.shipment!= null)&&(!this.shipment.isEmpty()))?this.getShipment():null); List rhsShipment; rhsShipment = (((that.shipment!= null)&&(!that.shipment.isEmpty()))?that.getShipment():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "shipment", lhsShipment), LocatorUtils.property(thatLocator, "shipment", rhsShipment), lhsShipment, rhsShipment)) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { IDType theID; theID = this.getID(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theID), currentHashCode, theID); } { UUIDType theUUID; theUUID = this.getUUID(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "uuid", theUUID), currentHashCode, theUUID); } { List theNote; theNote = (((this.note!= null)&&(!this.note.isEmpty()))?this.getNote():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "note", theNote), currentHashCode, theNote); } { ReceivedQuantityType theReceivedQuantity; theReceivedQuantity = this.getReceivedQuantity(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "receivedQuantity", theReceivedQuantity), currentHashCode, theReceivedQuantity); } { ShortQuantityType theShortQuantity; theShortQuantity = this.getShortQuantity(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "shortQuantity", theShortQuantity), currentHashCode, theShortQuantity); } { ShortageActionCodeType theShortageActionCode; theShortageActionCode = this.getShortageActionCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "shortageActionCode", theShortageActionCode), currentHashCode, theShortageActionCode); } { RejectedQuantityType theRejectedQuantity; theRejectedQuantity = this.getRejectedQuantity(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "rejectedQuantity", theRejectedQuantity), currentHashCode, theRejectedQuantity); } { RejectReasonCodeType theRejectReasonCode; theRejectReasonCode = this.getRejectReasonCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "rejectReasonCode", theRejectReasonCode), currentHashCode, theRejectReasonCode); } { List theRejectReason; theRejectReason = (((this.rejectReason!= null)&&(!this.rejectReason.isEmpty()))?this.getRejectReason():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "rejectReason", theRejectReason), currentHashCode, theRejectReason); } { RejectActionCodeType theRejectActionCode; theRejectActionCode = this.getRejectActionCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "rejectActionCode", theRejectActionCode), currentHashCode, theRejectActionCode); } { QuantityDiscrepancyCodeType theQuantityDiscrepancyCode; theQuantityDiscrepancyCode = this.getQuantityDiscrepancyCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "quantityDiscrepancyCode", theQuantityDiscrepancyCode), currentHashCode, theQuantityDiscrepancyCode); } { OversupplyQuantityType theOversupplyQuantity; theOversupplyQuantity = this.getOversupplyQuantity(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "oversupplyQuantity", theOversupplyQuantity), currentHashCode, theOversupplyQuantity); } { ReceivedDateType theReceivedDate; theReceivedDate = this.getReceivedDate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "receivedDate", theReceivedDate), currentHashCode, theReceivedDate); } { TimingComplaintCodeType theTimingComplaintCode; theTimingComplaintCode = this.getTimingComplaintCode(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "timingComplaintCode", theTimingComplaintCode), currentHashCode, theTimingComplaintCode); } { TimingComplaintType theTimingComplaint; theTimingComplaint = this.getTimingComplaint(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "timingComplaint", theTimingComplaint), currentHashCode, theTimingComplaint); } { OrderLineReferenceType theOrderLineReference; theOrderLineReference = this.getOrderLineReference(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "orderLineReference", theOrderLineReference), currentHashCode, theOrderLineReference); } { List theDespatchLineReference; theDespatchLineReference = (((this.despatchLineReference!= null)&&(!this.despatchLineReference.isEmpty()))?this.getDespatchLineReference():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "despatchLineReference", theDespatchLineReference), currentHashCode, theDespatchLineReference); } { List theDocumentReference; theDocumentReference = (((this.documentReference!= null)&&(!this.documentReference.isEmpty()))?this.getDocumentReference():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentReference", theDocumentReference), currentHashCode, theDocumentReference); } { List theItem; theItem = (((this.item!= null)&&(!this.item.isEmpty()))?this.getItem():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "item", theItem), currentHashCode, theItem); } { List theShipment; theShipment = (((this.shipment!= null)&&(!this.shipment.isEmpty()))?this.getShipment():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "shipment", theShipment), currentHashCode, theShipment); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy