oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.DespatchType Maven / Gradle / Ivy
package oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2;
import java.io.Serializable;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
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 javax.xml.datatype.XMLGregorianCalendar;
import com.phloc.commons.equals.EqualsUtils;
import com.phloc.commons.hash.HashCodeGenerator;
import com.phloc.commons.string.ToStringGenerator;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ActualDespatchDateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.ActualDespatchTimeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.EstimatedDespatchDateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.EstimatedDespatchTimeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.RequestedDespatchDateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.RequestedDespatchTimeType;
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Despatch. Details</ccts:DictionaryEntryName><ccts:Definition>Information about Despatch.</ccts:Definition><ccts:ObjectClass>Despatch</ccts:ObjectClass></ccts:Component>
*
*
*
* Java class for DespatchType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DespatchType">
* <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}RequestedDespatchDate" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RequestedDespatchTime" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}EstimatedDespatchDate" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}EstimatedDespatchTime" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ActualDespatchDate" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ActualDespatchTime" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DespatchAddress" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DespatchParty" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Contact" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DespatchType", propOrder = {
"id",
"requestedDespatchDate",
"requestedDespatchTime",
"estimatedDespatchDate",
"estimatedDespatchTime",
"actualDespatchDate",
"actualDespatchTime",
"despatchAddress",
"despatchParty",
"contact"
})
public class DespatchType implements Serializable
{
@XmlElement(name = "ID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private IDType id;
@XmlElement(name = "RequestedDespatchDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private RequestedDespatchDateType requestedDespatchDate;
@XmlElement(name = "RequestedDespatchTime", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private RequestedDespatchTimeType requestedDespatchTime;
@XmlElement(name = "EstimatedDespatchDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private EstimatedDespatchDateType estimatedDespatchDate;
@XmlElement(name = "EstimatedDespatchTime", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private EstimatedDespatchTimeType estimatedDespatchTime;
@XmlElement(name = "ActualDespatchDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private ActualDespatchDateType actualDespatchDate;
@XmlElement(name = "ActualDespatchTime", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private ActualDespatchTimeType actualDespatchTime;
@XmlElement(name = "DespatchAddress")
private AddressType despatchAddress;
@XmlElement(name = "DespatchParty")
private PartyType despatchParty;
@XmlElement(name = "Contact")
private ContactType contact;
/**
* Default constructor
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
*/
public DespatchType() {
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Despatch. Identifier</ccts:DictionaryEntryName><ccts:Definition>The identifier for the Delivery.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Despatch</ccts:ObjectClass><ccts:PropertyTerm>Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link IDType }
*
*/
@Nullable
public IDType getID() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link IDType }
*
*/
public void setID(
@Nullable
IDType value) {
this.id = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Despatch. Requested_ Despatch Date. Date</ccts:DictionaryEntryName><ccts:Definition>The despatch (pick-up) date requested by the buyer.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Despatch</ccts:ObjectClass><ccts:PropertyTermQualifier>Requested</ccts:PropertyTermQualifier><ccts:PropertyTerm>Despatch Date</ccts:PropertyTerm><ccts:RepresentationTerm>Date</ccts:RepresentationTerm><ccts:DataType>Date. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link RequestedDespatchDateType }
*
*/
@Nullable
public RequestedDespatchDateType getRequestedDespatchDate() {
return requestedDespatchDate;
}
/**
* Sets the value of the requestedDespatchDate property.
*
* @param value
* allowed object is
* {@link RequestedDespatchDateType }
*
*/
public void setRequestedDespatchDate(
@Nullable
RequestedDespatchDateType value) {
this.requestedDespatchDate = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Despatch. Requested_ Despatch Time. Time</ccts:DictionaryEntryName><ccts:Definition>The despatch (pick-up) time requested by the buyer.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Despatch</ccts:ObjectClass><ccts:PropertyTermQualifier>Requested</ccts:PropertyTermQualifier><ccts:PropertyTerm>Despatch Time</ccts:PropertyTerm><ccts:RepresentationTerm>Time</ccts:RepresentationTerm><ccts:DataType>Time. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link RequestedDespatchTimeType }
*
*/
@Nullable
public RequestedDespatchTimeType getRequestedDespatchTime() {
return requestedDespatchTime;
}
/**
* Sets the value of the requestedDespatchTime property.
*
* @param value
* allowed object is
* {@link RequestedDespatchTimeType }
*
*/
public void setRequestedDespatchTime(
@Nullable
RequestedDespatchTimeType value) {
this.requestedDespatchTime = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Despatch. Estimated_ Despatch Date. Date</ccts:DictionaryEntryName><ccts:Definition>The despatch (pick-up) date estimated by the seller or Despatch.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Despatch</ccts:ObjectClass><ccts:PropertyTermQualifier>Estimated</ccts:PropertyTermQualifier><ccts:PropertyTerm>Despatch Date</ccts:PropertyTerm><ccts:RepresentationTerm>Date</ccts:RepresentationTerm><ccts:DataType>Date. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link EstimatedDespatchDateType }
*
*/
@Nullable
public EstimatedDespatchDateType getEstimatedDespatchDate() {
return estimatedDespatchDate;
}
/**
* Sets the value of the estimatedDespatchDate property.
*
* @param value
* allowed object is
* {@link EstimatedDespatchDateType }
*
*/
public void setEstimatedDespatchDate(
@Nullable
EstimatedDespatchDateType value) {
this.estimatedDespatchDate = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Despatch. Estimated_ Despatch Time. Time</ccts:DictionaryEntryName><ccts:Definition>The despatch (pick-up) time estimated by the seller or Despatch.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Despatch</ccts:ObjectClass><ccts:PropertyTermQualifier>Estimated</ccts:PropertyTermQualifier><ccts:PropertyTerm>Despatch Time</ccts:PropertyTerm><ccts:RepresentationTerm>Time</ccts:RepresentationTerm><ccts:DataType>Time. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link EstimatedDespatchTimeType }
*
*/
@Nullable
public EstimatedDespatchTimeType getEstimatedDespatchTime() {
return estimatedDespatchTime;
}
/**
* Sets the value of the estimatedDespatchTime property.
*
* @param value
* allowed object is
* {@link EstimatedDespatchTimeType }
*
*/
public void setEstimatedDespatchTime(
@Nullable
EstimatedDespatchTimeType value) {
this.estimatedDespatchTime = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Despatch. Actual_ Despatch Date. Date</ccts:DictionaryEntryName><ccts:Definition>The actual despatch (pick-up) date.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Despatch</ccts:ObjectClass><ccts:PropertyTermQualifier>Actual</ccts:PropertyTermQualifier><ccts:PropertyTerm>Despatch Date</ccts:PropertyTerm><ccts:RepresentationTerm>Date</ccts:RepresentationTerm><ccts:DataType>Date. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link ActualDespatchDateType }
*
*/
@Nullable
public ActualDespatchDateType getActualDespatchDate() {
return actualDespatchDate;
}
/**
* Sets the value of the actualDespatchDate property.
*
* @param value
* allowed object is
* {@link ActualDespatchDateType }
*
*/
public void setActualDespatchDate(
@Nullable
ActualDespatchDateType value) {
this.actualDespatchDate = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Despatch. Actual_ Despatch Time. Time</ccts:DictionaryEntryName><ccts:Definition>The actual despatch (pick-up) time.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Despatch</ccts:ObjectClass><ccts:PropertyTermQualifier>Actual</ccts:PropertyTermQualifier><ccts:PropertyTerm>Despatch Time</ccts:PropertyTerm><ccts:RepresentationTerm>Time</ccts:RepresentationTerm><ccts:DataType>Time. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link ActualDespatchTimeType }
*
*/
@Nullable
public ActualDespatchTimeType getActualDespatchTime() {
return actualDespatchTime;
}
/**
* Sets the value of the actualDespatchTime property.
*
* @param value
* allowed object is
* {@link ActualDespatchTimeType }
*
*/
public void setActualDespatchTime(
@Nullable
ActualDespatchTimeType value) {
this.actualDespatchTime = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Despatch. Despatch_ Address. Address</ccts:DictionaryEntryName><ccts:Definition>An association to Despatch Address.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Despatch</ccts:ObjectClass><ccts:PropertyTermQualifier>Despatch</ccts:PropertyTermQualifier><ccts:PropertyTerm>Address</ccts:PropertyTerm><ccts:AssociatedObjectClass>Address</ccts:AssociatedObjectClass></ccts:Component>
*
*
*
* @return
* possible object is
* {@link AddressType }
*
*/
@Nullable
public AddressType getDespatchAddress() {
return despatchAddress;
}
/**
* Sets the value of the despatchAddress property.
*
* @param value
* allowed object is
* {@link AddressType }
*
*/
public void setDespatchAddress(
@Nullable
AddressType value) {
this.despatchAddress = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Despatch. Despatch_ Party. Party</ccts:DictionaryEntryName><ccts:Definition>The party who despatched the delivery.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Despatch</ccts:ObjectClass><ccts:PropertyTermQualifier>Despatch</ccts:PropertyTermQualifier><ccts:PropertyTerm>Party</ccts:PropertyTerm><ccts:AssociatedObjectClass>Party</ccts:AssociatedObjectClass></ccts:Component>
*
*
*
* @return
* possible object is
* {@link PartyType }
*
*/
@Nullable
public PartyType getDespatchParty() {
return despatchParty;
}
/**
* Sets the value of the despatchParty property.
*
* @param value
* allowed object is
* {@link PartyType }
*
*/
public void setDespatchParty(
@Nullable
PartyType value) {
this.despatchParty = value;
}
/**
*
*
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Despatch. Contact</ccts:DictionaryEntryName><ccts:Definition>An association to Contact.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Despatch</ccts:ObjectClass><ccts:PropertyTerm>Contact</ccts:PropertyTerm><ccts:AssociatedObjectClass>Contact</ccts:AssociatedObjectClass></ccts:Component>
*
*
*
* @return
* possible object is
* {@link ContactType }
*
*/
@Nullable
public ContactType getContact() {
return contact;
}
/**
* Sets the value of the contact property.
*
* @param value
* allowed object is
* {@link ContactType }
*
*/
public void setContact(
@Nullable
ContactType value) {
this.contact = value;
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-equalshashcode
*
*/
@Override
public boolean equals(final Object o) {
if (o == this) {
return true;
}
if ((o == null)||(!getClass().equals(o.getClass()))) {
return false;
}
final DespatchType rhs = ((DespatchType) o);
if (!EqualsUtils.equals(id, rhs.id)) {
return false;
}
if (!EqualsUtils.equals(requestedDespatchDate, rhs.requestedDespatchDate)) {
return false;
}
if (!EqualsUtils.equals(requestedDespatchTime, rhs.requestedDespatchTime)) {
return false;
}
if (!EqualsUtils.equals(estimatedDespatchDate, rhs.estimatedDespatchDate)) {
return false;
}
if (!EqualsUtils.equals(estimatedDespatchTime, rhs.estimatedDespatchTime)) {
return false;
}
if (!EqualsUtils.equals(actualDespatchDate, rhs.actualDespatchDate)) {
return false;
}
if (!EqualsUtils.equals(actualDespatchTime, rhs.actualDespatchTime)) {
return false;
}
if (!EqualsUtils.equals(despatchAddress, rhs.despatchAddress)) {
return false;
}
if (!EqualsUtils.equals(despatchParty, rhs.despatchParty)) {
return false;
}
if (!EqualsUtils.equals(contact, rhs.contact)) {
return false;
}
return true;
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-equalshashcode
*
*/
@Override
public int hashCode() {
return new HashCodeGenerator(this).append(id).append(requestedDespatchDate).append(requestedDespatchTime).append(estimatedDespatchDate).append(estimatedDespatchTime).append(actualDespatchDate).append(actualDespatchTime).append(despatchAddress).append(despatchParty).append(contact).getHashCode();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-tostring
*
*/
@Override
public String toString() {
return new ToStringGenerator(this).append("id", id).append("requestedDespatchDate", requestedDespatchDate).append("requestedDespatchTime", requestedDespatchTime).append("estimatedDespatchDate", estimatedDespatchDate).append("estimatedDespatchTime", estimatedDespatchTime).append("actualDespatchDate", actualDespatchDate).append("actualDespatchTime", actualDespatchTime).append("despatchAddress", despatchAddress).append("despatchParty", despatchParty).append("contact", contact).toString();
}
/**
* Special setter with value of type XMLGregorianCalendar
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param valueParam
* The value to be set. May be null
.
* @return
* The created intermediary object of type EstimatedDespatchTimeType and never null
*/
@Nonnull
public EstimatedDespatchTimeType setEstimatedDespatchTime(
@Nullable
final XMLGregorianCalendar valueParam) {
EstimatedDespatchTimeType aObj = getEstimatedDespatchTime();
if (aObj == null) {
aObj = new EstimatedDespatchTimeType(valueParam);
setEstimatedDespatchTime(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type XMLGregorianCalendar
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param valueParam
* The value to be set. May be null
.
* @return
* The created intermediary object of type EstimatedDespatchDateType and never null
*/
@Nonnull
public EstimatedDespatchDateType setEstimatedDespatchDate(
@Nullable
final XMLGregorianCalendar valueParam) {
EstimatedDespatchDateType aObj = getEstimatedDespatchDate();
if (aObj == null) {
aObj = new EstimatedDespatchDateType(valueParam);
setEstimatedDespatchDate(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type XMLGregorianCalendar
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param valueParam
* The value to be set. May be null
.
* @return
* The created intermediary object of type ActualDespatchTimeType and never null
*/
@Nonnull
public ActualDespatchTimeType setActualDespatchTime(
@Nullable
final XMLGregorianCalendar valueParam) {
ActualDespatchTimeType aObj = getActualDespatchTime();
if (aObj == null) {
aObj = new ActualDespatchTimeType(valueParam);
setActualDespatchTime(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type XMLGregorianCalendar
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param valueParam
* The value to be set. May be null
.
* @return
* The created intermediary object of type RequestedDespatchDateType and never null
*/
@Nonnull
public RequestedDespatchDateType setRequestedDespatchDate(
@Nullable
final XMLGregorianCalendar valueParam) {
RequestedDespatchDateType aObj = getRequestedDespatchDate();
if (aObj == null) {
aObj = new RequestedDespatchDateType(valueParam);
setRequestedDespatchDate(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type XMLGregorianCalendar
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param valueParam
* The value to be set. May be null
.
* @return
* The created intermediary object of type RequestedDespatchTimeType and never null
*/
@Nonnull
public RequestedDespatchTimeType setRequestedDespatchTime(
@Nullable
final XMLGregorianCalendar valueParam) {
RequestedDespatchTimeType aObj = getRequestedDespatchTime();
if (aObj == null) {
aObj = new RequestedDespatchTimeType(valueParam);
setRequestedDespatchTime(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type XMLGregorianCalendar
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param valueParam
* The value to be set. May be null
.
* @return
* The created intermediary object of type ActualDespatchDateType and never null
*/
@Nonnull
public ActualDespatchDateType setActualDespatchDate(
@Nullable
final XMLGregorianCalendar valueParam) {
ActualDespatchDateType aObj = getActualDespatchDate();
if (aObj == null) {
aObj = new ActualDespatchDateType(valueParam);
setActualDespatchDate(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type String
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @param valueParam
* The value to be set. May be null
.
* @return
* The created intermediary object of type IDType and never null
*/
@Nonnull
public IDType setID(
@Nullable
final String valueParam) {
IDType aObj = getID();
if (aObj == null) {
aObj = new IDType(valueParam);
setID(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Get the value of the contained IDType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained IDType object or null
*/
@Nullable
public String getIDValue() {
IDType aObj = getID();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained RequestedDespatchDateType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained RequestedDespatchDateType object or null
*/
@Nullable
public XMLGregorianCalendar getRequestedDespatchDateValue() {
RequestedDespatchDateType aObj = getRequestedDespatchDate();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained RequestedDespatchTimeType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained RequestedDespatchTimeType object or null
*/
@Nullable
public XMLGregorianCalendar getRequestedDespatchTimeValue() {
RequestedDespatchTimeType aObj = getRequestedDespatchTime();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained EstimatedDespatchDateType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained EstimatedDespatchDateType object or null
*/
@Nullable
public XMLGregorianCalendar getEstimatedDespatchDateValue() {
EstimatedDespatchDateType aObj = getEstimatedDespatchDate();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained EstimatedDespatchTimeType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained EstimatedDespatchTimeType object or null
*/
@Nullable
public XMLGregorianCalendar getEstimatedDespatchTimeValue() {
EstimatedDespatchTimeType aObj = getEstimatedDespatchTime();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained ActualDespatchDateType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained ActualDespatchDateType object or null
*/
@Nullable
public XMLGregorianCalendar getActualDespatchDateValue() {
ActualDespatchDateType aObj = getActualDespatchDate();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained ActualDespatchTimeType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained ActualDespatchTimeType object or null
*/
@Nullable
public XMLGregorianCalendar getActualDespatchTimeValue() {
ActualDespatchTimeType aObj = getActualDespatchTime();
return ((aObj == null)?null:aObj.getValue());
}
}