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

oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.PickupType 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 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.ActualPickupDateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ActualPickupTimeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.EarliestPickupDateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.EarliestPickupTimeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LatestPickupDateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LatestPickupTimeType;
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 PickupType complex type. * *

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

 * <complexType name="PickupType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ActualPickupDate" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ActualPickupTime" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}EarliestPickupDate" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}EarliestPickupTime" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LatestPickupDate" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LatestPickupTime" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PickupLocation" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PickupParty" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PickupType", propOrder = { "id", "actualPickupDate", "actualPickupTime", "earliestPickupDate", "earliestPickupTime", "latestPickupDate", "latestPickupTime", "pickupLocation", "pickupParty" }) public class PickupType implements Serializable, Equals, HashCode, ToString { private final static long serialVersionUID = 100L; @XmlElement(name = "ID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected IDType id; @XmlElement(name = "ActualPickupDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected ActualPickupDateType actualPickupDate; @XmlElement(name = "ActualPickupTime", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected ActualPickupTimeType actualPickupTime; @XmlElement(name = "EarliestPickupDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected EarliestPickupDateType earliestPickupDate; @XmlElement(name = "EarliestPickupTime", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected EarliestPickupTimeType earliestPickupTime; @XmlElement(name = "LatestPickupDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected LatestPickupDateType latestPickupDate; @XmlElement(name = "LatestPickupTime", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected LatestPickupTimeType latestPickupTime; @XmlElement(name = "PickupLocation") protected LocationType pickupLocation; @XmlElement(name = "PickupParty") protected PartyType pickupParty; /** * 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 actualPickupDate property. * * @return * possible object is * {@link ActualPickupDateType } * */ public ActualPickupDateType getActualPickupDate() { return actualPickupDate; } /** * Sets the value of the actualPickupDate property. * * @param value * allowed object is * {@link ActualPickupDateType } * */ public void setActualPickupDate(ActualPickupDateType value) { this.actualPickupDate = value; } /** * Gets the value of the actualPickupTime property. * * @return * possible object is * {@link ActualPickupTimeType } * */ public ActualPickupTimeType getActualPickupTime() { return actualPickupTime; } /** * Sets the value of the actualPickupTime property. * * @param value * allowed object is * {@link ActualPickupTimeType } * */ public void setActualPickupTime(ActualPickupTimeType value) { this.actualPickupTime = value; } /** * Gets the value of the earliestPickupDate property. * * @return * possible object is * {@link EarliestPickupDateType } * */ public EarliestPickupDateType getEarliestPickupDate() { return earliestPickupDate; } /** * Sets the value of the earliestPickupDate property. * * @param value * allowed object is * {@link EarliestPickupDateType } * */ public void setEarliestPickupDate(EarliestPickupDateType value) { this.earliestPickupDate = value; } /** * Gets the value of the earliestPickupTime property. * * @return * possible object is * {@link EarliestPickupTimeType } * */ public EarliestPickupTimeType getEarliestPickupTime() { return earliestPickupTime; } /** * Sets the value of the earliestPickupTime property. * * @param value * allowed object is * {@link EarliestPickupTimeType } * */ public void setEarliestPickupTime(EarliestPickupTimeType value) { this.earliestPickupTime = value; } /** * Gets the value of the latestPickupDate property. * * @return * possible object is * {@link LatestPickupDateType } * */ public LatestPickupDateType getLatestPickupDate() { return latestPickupDate; } /** * Sets the value of the latestPickupDate property. * * @param value * allowed object is * {@link LatestPickupDateType } * */ public void setLatestPickupDate(LatestPickupDateType value) { this.latestPickupDate = value; } /** * Gets the value of the latestPickupTime property. * * @return * possible object is * {@link LatestPickupTimeType } * */ public LatestPickupTimeType getLatestPickupTime() { return latestPickupTime; } /** * Sets the value of the latestPickupTime property. * * @param value * allowed object is * {@link LatestPickupTimeType } * */ public void setLatestPickupTime(LatestPickupTimeType value) { this.latestPickupTime = value; } /** * Gets the value of the pickupLocation property. * * @return * possible object is * {@link LocationType } * */ public LocationType getPickupLocation() { return pickupLocation; } /** * Sets the value of the pickupLocation property. * * @param value * allowed object is * {@link LocationType } * */ public void setPickupLocation(LocationType value) { this.pickupLocation = value; } /** * Gets the value of the pickupParty property. * * @return * possible object is * {@link PartyType } * */ public PartyType getPickupParty() { return pickupParty; } /** * Sets the value of the pickupParty property. * * @param value * allowed object is * {@link PartyType } * */ public void setPickupParty(PartyType value) { this.pickupParty = value; } 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); } { ActualPickupDateType theActualPickupDate; theActualPickupDate = this.getActualPickupDate(); strategy.appendField(locator, this, "actualPickupDate", buffer, theActualPickupDate); } { ActualPickupTimeType theActualPickupTime; theActualPickupTime = this.getActualPickupTime(); strategy.appendField(locator, this, "actualPickupTime", buffer, theActualPickupTime); } { EarliestPickupDateType theEarliestPickupDate; theEarliestPickupDate = this.getEarliestPickupDate(); strategy.appendField(locator, this, "earliestPickupDate", buffer, theEarliestPickupDate); } { EarliestPickupTimeType theEarliestPickupTime; theEarliestPickupTime = this.getEarliestPickupTime(); strategy.appendField(locator, this, "earliestPickupTime", buffer, theEarliestPickupTime); } { LatestPickupDateType theLatestPickupDate; theLatestPickupDate = this.getLatestPickupDate(); strategy.appendField(locator, this, "latestPickupDate", buffer, theLatestPickupDate); } { LatestPickupTimeType theLatestPickupTime; theLatestPickupTime = this.getLatestPickupTime(); strategy.appendField(locator, this, "latestPickupTime", buffer, theLatestPickupTime); } { LocationType thePickupLocation; thePickupLocation = this.getPickupLocation(); strategy.appendField(locator, this, "pickupLocation", buffer, thePickupLocation); } { PartyType thePickupParty; thePickupParty = this.getPickupParty(); strategy.appendField(locator, this, "pickupParty", buffer, thePickupParty); } return buffer; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof PickupType)) { return false; } if (this == object) { return true; } final PickupType that = ((PickupType) 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; } } { ActualPickupDateType lhsActualPickupDate; lhsActualPickupDate = this.getActualPickupDate(); ActualPickupDateType rhsActualPickupDate; rhsActualPickupDate = that.getActualPickupDate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "actualPickupDate", lhsActualPickupDate), LocatorUtils.property(thatLocator, "actualPickupDate", rhsActualPickupDate), lhsActualPickupDate, rhsActualPickupDate)) { return false; } } { ActualPickupTimeType lhsActualPickupTime; lhsActualPickupTime = this.getActualPickupTime(); ActualPickupTimeType rhsActualPickupTime; rhsActualPickupTime = that.getActualPickupTime(); if (!strategy.equals(LocatorUtils.property(thisLocator, "actualPickupTime", lhsActualPickupTime), LocatorUtils.property(thatLocator, "actualPickupTime", rhsActualPickupTime), lhsActualPickupTime, rhsActualPickupTime)) { return false; } } { EarliestPickupDateType lhsEarliestPickupDate; lhsEarliestPickupDate = this.getEarliestPickupDate(); EarliestPickupDateType rhsEarliestPickupDate; rhsEarliestPickupDate = that.getEarliestPickupDate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "earliestPickupDate", lhsEarliestPickupDate), LocatorUtils.property(thatLocator, "earliestPickupDate", rhsEarliestPickupDate), lhsEarliestPickupDate, rhsEarliestPickupDate)) { return false; } } { EarliestPickupTimeType lhsEarliestPickupTime; lhsEarliestPickupTime = this.getEarliestPickupTime(); EarliestPickupTimeType rhsEarliestPickupTime; rhsEarliestPickupTime = that.getEarliestPickupTime(); if (!strategy.equals(LocatorUtils.property(thisLocator, "earliestPickupTime", lhsEarliestPickupTime), LocatorUtils.property(thatLocator, "earliestPickupTime", rhsEarliestPickupTime), lhsEarliestPickupTime, rhsEarliestPickupTime)) { return false; } } { LatestPickupDateType lhsLatestPickupDate; lhsLatestPickupDate = this.getLatestPickupDate(); LatestPickupDateType rhsLatestPickupDate; rhsLatestPickupDate = that.getLatestPickupDate(); if (!strategy.equals(LocatorUtils.property(thisLocator, "latestPickupDate", lhsLatestPickupDate), LocatorUtils.property(thatLocator, "latestPickupDate", rhsLatestPickupDate), lhsLatestPickupDate, rhsLatestPickupDate)) { return false; } } { LatestPickupTimeType lhsLatestPickupTime; lhsLatestPickupTime = this.getLatestPickupTime(); LatestPickupTimeType rhsLatestPickupTime; rhsLatestPickupTime = that.getLatestPickupTime(); if (!strategy.equals(LocatorUtils.property(thisLocator, "latestPickupTime", lhsLatestPickupTime), LocatorUtils.property(thatLocator, "latestPickupTime", rhsLatestPickupTime), lhsLatestPickupTime, rhsLatestPickupTime)) { return false; } } { LocationType lhsPickupLocation; lhsPickupLocation = this.getPickupLocation(); LocationType rhsPickupLocation; rhsPickupLocation = that.getPickupLocation(); if (!strategy.equals(LocatorUtils.property(thisLocator, "pickupLocation", lhsPickupLocation), LocatorUtils.property(thatLocator, "pickupLocation", rhsPickupLocation), lhsPickupLocation, rhsPickupLocation)) { return false; } } { PartyType lhsPickupParty; lhsPickupParty = this.getPickupParty(); PartyType rhsPickupParty; rhsPickupParty = that.getPickupParty(); if (!strategy.equals(LocatorUtils.property(thisLocator, "pickupParty", lhsPickupParty), LocatorUtils.property(thatLocator, "pickupParty", rhsPickupParty), lhsPickupParty, rhsPickupParty)) { 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); } { ActualPickupDateType theActualPickupDate; theActualPickupDate = this.getActualPickupDate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "actualPickupDate", theActualPickupDate), currentHashCode, theActualPickupDate); } { ActualPickupTimeType theActualPickupTime; theActualPickupTime = this.getActualPickupTime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "actualPickupTime", theActualPickupTime), currentHashCode, theActualPickupTime); } { EarliestPickupDateType theEarliestPickupDate; theEarliestPickupDate = this.getEarliestPickupDate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "earliestPickupDate", theEarliestPickupDate), currentHashCode, theEarliestPickupDate); } { EarliestPickupTimeType theEarliestPickupTime; theEarliestPickupTime = this.getEarliestPickupTime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "earliestPickupTime", theEarliestPickupTime), currentHashCode, theEarliestPickupTime); } { LatestPickupDateType theLatestPickupDate; theLatestPickupDate = this.getLatestPickupDate(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "latestPickupDate", theLatestPickupDate), currentHashCode, theLatestPickupDate); } { LatestPickupTimeType theLatestPickupTime; theLatestPickupTime = this.getLatestPickupTime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "latestPickupTime", theLatestPickupTime), currentHashCode, theLatestPickupTime); } { LocationType thePickupLocation; thePickupLocation = this.getPickupLocation(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "pickupLocation", thePickupLocation), currentHashCode, thePickupLocation); } { PartyType thePickupParty; thePickupParty = this.getPickupParty(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "pickupParty", thePickupParty), currentHashCode, thePickupParty); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy