oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.DespatchLineType Maven / Gradle / Ivy
package oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Nonnegative;
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 com.phloc.commons.annotations.ReturnsMutableObject;
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.BackorderQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.BackorderReasonType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DeliveredQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LineStatusCodeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.NoteType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.OutstandingQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.OutstandingReasonType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.OversupplyQuantityType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.UUIDType;
/**
*
*
* <?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 Line. Details</ccts:DictionaryEntryName><ccts:Definition>Information about a Despatch Line.</ccts:Definition><ccts:ObjectClass>Despatch Line</ccts:ObjectClass></ccts:Component>
*
*
*
* Java class for DespatchLineType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DespatchLineType">
* <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" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LineStatusCode" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}DeliveredQuantity" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}BackorderQuantity" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}BackorderReason" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}OutstandingQuantity" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}OutstandingReason" 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:CommonAggregateComponents-2}OrderLineReference" maxOccurs="unbounded"/>
* <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"/>
* <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 = "DespatchLineType", propOrder = {
"id",
"uuid",
"note",
"lineStatusCode",
"deliveredQuantity",
"backorderQuantity",
"backorderReason",
"outstandingQuantity",
"outstandingReason",
"oversupplyQuantity",
"orderLineReference",
"documentReference",
"item",
"shipment"
})
public class DespatchLineType implements Serializable
{
@XmlElement(name = "ID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true)
private IDType id;
@XmlElement(name = "UUID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private UUIDType uuid;
@XmlElement(name = "Note", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private NoteType note;
@XmlElement(name = "LineStatusCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private LineStatusCodeType lineStatusCode;
@XmlElement(name = "DeliveredQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private DeliveredQuantityType deliveredQuantity;
@XmlElement(name = "BackorderQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private BackorderQuantityType backorderQuantity;
@XmlElement(name = "BackorderReason", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private BackorderReasonType backorderReason;
@XmlElement(name = "OutstandingQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private OutstandingQuantityType outstandingQuantity;
@XmlElement(name = "OutstandingReason", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private OutstandingReasonType outstandingReason;
@XmlElement(name = "OversupplyQuantity", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
private OversupplyQuantityType oversupplyQuantity;
@XmlElement(name = "OrderLineReference", required = true)
private List orderLineReference;
@XmlElement(name = "DocumentReference")
private List documentReference;
@XmlElement(name = "Item", required = true)
private ItemType item;
@XmlElement(name = "Shipment")
private List shipment;
/**
* Default constructor
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
*/
public DespatchLineType() {
}
/**
*
*
* <?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 Line. Identifier</ccts:DictionaryEntryName><ccts:Definition>Identifies the Despatch Line.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Despatch Line</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 Line. UUID. Identifier</ccts:DictionaryEntryName><ccts:Definition>A universally unique identifier for an instance of this ABIE.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Despatch Line</ccts:ObjectClass><ccts:PropertyTerm>UUID</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link UUIDType }
*
*/
@Nullable
public UUIDType getUUID() {
return uuid;
}
/**
* Sets the value of the uuid property.
*
* @param value
* allowed object is
* {@link UUIDType }
*
*/
public void setUUID(
@Nullable
UUIDType value) {
this.uuid = 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 Line. Note. Text</ccts:DictionaryEntryName><ccts:Definition>Free-form text applying to the Despatch Line. This element may contain notes or any other similar information that is not contained explicitly in another structure.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Despatch Line</ccts:ObjectClass><ccts:PropertyTerm>Note</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link NoteType }
*
*/
@Nullable
public NoteType getNote() {
return note;
}
/**
* Sets the value of the note property.
*
* @param value
* allowed object is
* {@link NoteType }
*
*/
public void setNote(
@Nullable
NoteType value) {
this.note = 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 Line. Line Status Code. Code</ccts:DictionaryEntryName><ccts:Definition>Identifies the status of the Despatch Line with respect to its original state.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Despatch Line</ccts:ObjectClass><ccts:PropertyTerm>Line Status Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Line Status_ Code. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link LineStatusCodeType }
*
*/
@Nullable
public LineStatusCodeType getLineStatusCode() {
return lineStatusCode;
}
/**
* Sets the value of the lineStatusCode property.
*
* @param value
* allowed object is
* {@link LineStatusCodeType }
*
*/
public void setLineStatusCode(
@Nullable
LineStatusCodeType value) {
this.lineStatusCode = 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 Line. Delivered_ Quantity. Quantity</ccts:DictionaryEntryName><ccts:Definition>The quantity despatched.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Despatch Line</ccts:ObjectClass><ccts:PropertyTermQualifier>Delivered</ccts:PropertyTermQualifier><ccts:PropertyTerm>Quantity</ccts:PropertyTerm><ccts:RepresentationTerm>Quantity</ccts:RepresentationTerm><ccts:DataType>Quantity. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link DeliveredQuantityType }
*
*/
@Nullable
public DeliveredQuantityType getDeliveredQuantity() {
return deliveredQuantity;
}
/**
* Sets the value of the deliveredQuantity property.
*
* @param value
* allowed object is
* {@link DeliveredQuantityType }
*
*/
public void setDeliveredQuantity(
@Nullable
DeliveredQuantityType value) {
this.deliveredQuantity = 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 Line. Backorder_ Quantity. Quantity</ccts:DictionaryEntryName><ccts:Definition>The quantity on Back Order at the Supplier.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Despatch Line</ccts:ObjectClass><ccts:PropertyTermQualifier>Backorder</ccts:PropertyTermQualifier><ccts:PropertyTerm>Quantity</ccts:PropertyTerm><ccts:RepresentationTerm>Quantity</ccts:RepresentationTerm><ccts:DataType>Quantity. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link BackorderQuantityType }
*
*/
@Nullable
public BackorderQuantityType getBackorderQuantity() {
return backorderQuantity;
}
/**
* Sets the value of the backorderQuantity property.
*
* @param value
* allowed object is
* {@link BackorderQuantityType }
*
*/
public void setBackorderQuantity(
@Nullable
BackorderQuantityType value) {
this.backorderQuantity = 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 Line. Backorder_ Reason. Text</ccts:DictionaryEntryName><ccts:Definition>The reason for the Back Order.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Despatch Line</ccts:ObjectClass><ccts:PropertyTermQualifier>Backorder</ccts:PropertyTermQualifier><ccts:PropertyTerm>Reason</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link BackorderReasonType }
*
*/
@Nullable
public BackorderReasonType getBackorderReason() {
return backorderReason;
}
/**
* Sets the value of the backorderReason property.
*
* @param value
* allowed object is
* {@link BackorderReasonType }
*
*/
public void setBackorderReason(
@Nullable
BackorderReasonType value) {
this.backorderReason = 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 Line. Outstanding_ Quantity. Quantity</ccts:DictionaryEntryName><ccts:Definition>The quantity outstanding (which will follow in a later despatch).</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Despatch Line</ccts:ObjectClass><ccts:PropertyTermQualifier>Outstanding</ccts:PropertyTermQualifier><ccts:PropertyTerm>Quantity</ccts:PropertyTerm><ccts:RepresentationTerm>Quantity</ccts:RepresentationTerm><ccts:DataType>Quantity. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link OutstandingQuantityType }
*
*/
@Nullable
public OutstandingQuantityType getOutstandingQuantity() {
return outstandingQuantity;
}
/**
* Sets the value of the outstandingQuantity property.
*
* @param value
* allowed object is
* {@link OutstandingQuantityType }
*
*/
public void setOutstandingQuantity(
@Nullable
OutstandingQuantityType value) {
this.outstandingQuantity = 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 Line. Outstanding_ Reason. Text</ccts:DictionaryEntryName><ccts:Definition>The reason for the Outstanding Quantity.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Despatch Line</ccts:ObjectClass><ccts:PropertyTermQualifier>Outstanding</ccts:PropertyTermQualifier><ccts:PropertyTerm>Reason</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link OutstandingReasonType }
*
*/
@Nullable
public OutstandingReasonType getOutstandingReason() {
return outstandingReason;
}
/**
* Sets the value of the outstandingReason property.
*
* @param value
* allowed object is
* {@link OutstandingReasonType }
*
*/
public void setOutstandingReason(
@Nullable
OutstandingReasonType value) {
this.outstandingReason = 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 Line. Oversupply_ Quantity. Quantity</ccts:DictionaryEntryName><ccts:Definition>The quantity over-supplied.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Despatch Line</ccts:ObjectClass><ccts:PropertyTermQualifier>Oversupply</ccts:PropertyTermQualifier><ccts:PropertyTerm>Quantity</ccts:PropertyTerm><ccts:RepresentationTerm>Quantity</ccts:RepresentationTerm><ccts:DataType>Quantity. Type</ccts:DataType></ccts:Component>
*
*
*
* @return
* possible object is
* {@link OversupplyQuantityType }
*
*/
@Nullable
public OversupplyQuantityType getOversupplyQuantity() {
return oversupplyQuantity;
}
/**
* Sets the value of the oversupplyQuantity property.
*
* @param value
* allowed object is
* {@link OversupplyQuantityType }
*
*/
public void setOversupplyQuantity(
@Nullable
OversupplyQuantityType value) {
this.oversupplyQuantity = 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 Line. Order Line Reference</ccts:DictionaryEntryName><ccts:Definition>An association to Order Line Reference.</ccts:Definition><ccts:Cardinality>1..n</ccts:Cardinality><ccts:ObjectClass>Despatch Line</ccts:ObjectClass><ccts:PropertyTerm>Order Line Reference</ccts:PropertyTerm><ccts:AssociatedObjectClass>Order Line Reference</ccts:AssociatedObjectClass></ccts:Component>
*
* Gets the value of the orderLineReference 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 orderLineReference property.
*
*
* For example, to add a new item, do as follows:
*
* getOrderLineReference().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OrderLineReferenceType }
*
*
*/
@Nonnull
@ReturnsMutableObject(reason = "JAXB implementation style")
public List getOrderLineReference() {
if (orderLineReference == null) {
orderLineReference = new ArrayList();
}
return this.orderLineReference;
}
/**
*
*
* <?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 Line. Document Reference</ccts:DictionaryEntryName><ccts:Definition>An association to Document Reference.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Despatch Line</ccts:ObjectClass><ccts:PropertyTerm>Document Reference</ccts:PropertyTerm><ccts:AssociatedObjectClass>Document Reference</ccts:AssociatedObjectClass></ccts:Component>
*
* 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 }
*
*
*/
@Nonnull
@ReturnsMutableObject(reason = "JAXB implementation style")
public List getDocumentReference() {
if (documentReference == null) {
documentReference = new ArrayList();
}
return this.documentReference;
}
/**
*
*
* <?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 Line. Item</ccts:DictionaryEntryName><ccts:Definition>An association to Item.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Despatch Line</ccts:ObjectClass><ccts:PropertyTerm>Item</ccts:PropertyTerm><ccts:AssociatedObjectClass>Item</ccts:AssociatedObjectClass></ccts:Component>
*
*
*
* @return
* possible object is
* {@link ItemType }
*
*/
@Nullable
public ItemType getItem() {
return item;
}
/**
* Sets the value of the item property.
*
* @param value
* allowed object is
* {@link ItemType }
*
*/
public void setItem(
@Nullable
ItemType value) {
this.item = 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 Line. Shipment</ccts:DictionaryEntryName><ccts:Definition>An association to Shipment.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Despatch Line</ccts:ObjectClass><ccts:PropertyTerm>Shipment</ccts:PropertyTerm><ccts:AssociatedObjectClass>Shipment</ccts:AssociatedObjectClass></ccts:Component>
*
* 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 }
*
*
*/
@Nonnull
@ReturnsMutableObject(reason = "JAXB implementation style")
public List getShipment() {
if (shipment == null) {
shipment = new ArrayList();
}
return this.shipment;
}
/**
* 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 DespatchLineType rhs = ((DespatchLineType) o);
if (!EqualsUtils.equals(id, rhs.id)) {
return false;
}
if (!EqualsUtils.equals(uuid, rhs.uuid)) {
return false;
}
if (!EqualsUtils.equals(note, rhs.note)) {
return false;
}
if (!EqualsUtils.equals(lineStatusCode, rhs.lineStatusCode)) {
return false;
}
if (!EqualsUtils.equals(deliveredQuantity, rhs.deliveredQuantity)) {
return false;
}
if (!EqualsUtils.equals(backorderQuantity, rhs.backorderQuantity)) {
return false;
}
if (!EqualsUtils.equals(backorderReason, rhs.backorderReason)) {
return false;
}
if (!EqualsUtils.equals(outstandingQuantity, rhs.outstandingQuantity)) {
return false;
}
if (!EqualsUtils.equals(outstandingReason, rhs.outstandingReason)) {
return false;
}
if (!EqualsUtils.equals(oversupplyQuantity, rhs.oversupplyQuantity)) {
return false;
}
if (!EqualsUtils.equals(orderLineReference, rhs.orderLineReference)) {
return false;
}
if (!EqualsUtils.equals(documentReference, rhs.documentReference)) {
return false;
}
if (!EqualsUtils.equals(item, rhs.item)) {
return false;
}
if (!EqualsUtils.equals(shipment, rhs.shipment)) {
return false;
}
return true;
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-equalshashcode
*
*/
@Override
public int hashCode() {
return new HashCodeGenerator(this).append(id).append(uuid).append(note).append(lineStatusCode).append(deliveredQuantity).append(backorderQuantity).append(backorderReason).append(outstandingQuantity).append(outstandingReason).append(oversupplyQuantity).append(orderLineReference).append(documentReference).append(item).append(shipment).getHashCode();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-tostring
*
*/
@Override
public String toString() {
return new ToStringGenerator(this).append("id", id).append("uuid", uuid).append("note", note).append("lineStatusCode", lineStatusCode).append("deliveredQuantity", deliveredQuantity).append("backorderQuantity", backorderQuantity).append("backorderReason", backorderReason).append("outstandingQuantity", outstandingQuantity).append("outstandingReason", outstandingReason).append("oversupplyQuantity", oversupplyQuantity).append("orderLineReference", orderLineReference).append("documentReference", documentReference).append("item", item).append("shipment", shipment).toString();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @param aList
* The new list member to set. May be null
.
*/
public void setOrderLineReference(
@Nullable
final List aList) {
orderLineReference = aList;
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @param aList
* The new list member to set. May be null
.
*/
public void setDocumentReference(
@Nullable
final List aList) {
documentReference = aList;
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @param aList
* The new list member to set. May be null
.
*/
public void setShipment(
@Nullable
final List aList) {
shipment = aList;
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* true
if at least one item is contained, false
otherwise.
*/
public boolean hasOrderLineReferenceEntries() {
return (!getOrderLineReference().isEmpty());
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* true
if no item is contained, false
otherwise.
*/
public boolean hasNoOrderLineReferenceEntries() {
return getOrderLineReference().isEmpty();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* The number of contained elements. Always ≥ 0.
*/
@Nonnegative
public int getOrderLineReferenceCount() {
return getOrderLineReference().size();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @param index
* The index to retrieve
* @return
* The element at the specified index. May be null
* @throws ArrayIndexOutOfBoundsException
* if the index is invalid!
*/
@Nullable
public OrderLineReferenceType getOrderLineReferenceAtIndex(
@Nonnegative
final int index) {
return getOrderLineReference().get(index);
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* true
if at least one item is contained, false
otherwise.
*/
public boolean hasDocumentReferenceEntries() {
return (!getDocumentReference().isEmpty());
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* true
if no item is contained, false
otherwise.
*/
public boolean hasNoDocumentReferenceEntries() {
return getDocumentReference().isEmpty();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* The number of contained elements. Always ≥ 0.
*/
@Nonnegative
public int getDocumentReferenceCount() {
return getDocumentReference().size();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @param index
* The index to retrieve
* @return
* The element at the specified index. May be null
* @throws ArrayIndexOutOfBoundsException
* if the index is invalid!
*/
@Nullable
public DocumentReferenceType getDocumentReferenceAtIndex(
@Nonnegative
final int index) {
return getDocumentReference().get(index);
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* true
if at least one item is contained, false
otherwise.
*/
public boolean hasShipmentEntries() {
return (!getShipment().isEmpty());
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* true
if no item is contained, false
otherwise.
*/
public boolean hasNoShipmentEntries() {
return getShipment().isEmpty();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @return
* The number of contained elements. Always ≥ 0.
*/
@Nonnegative
public int getShipmentCount() {
return getShipment().size();
}
/**
* Created by phloc-jaxb22-plugin -Xphloc-list-extension
*
* @param index
* The index to retrieve
* @return
* The element at the specified index. May be null
* @throws ArrayIndexOutOfBoundsException
* if the index is invalid!
*/
@Nullable
public ShipmentType getShipmentAtIndex(
@Nonnegative
final int index) {
return getShipment().get(index);
}
/**
* 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 NoteType and never null
*/
@Nonnull
public NoteType setNote(
@Nullable
final String valueParam) {
NoteType aObj = getNote();
if (aObj == null) {
aObj = new NoteType(valueParam);
setNote(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 BackorderReasonType and never null
*/
@Nonnull
public BackorderReasonType setBackorderReason(
@Nullable
final String valueParam) {
BackorderReasonType aObj = getBackorderReason();
if (aObj == null) {
aObj = new BackorderReasonType(valueParam);
setBackorderReason(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 OutstandingReasonType and never null
*/
@Nonnull
public OutstandingReasonType setOutstandingReason(
@Nullable
final String valueParam) {
OutstandingReasonType aObj = getOutstandingReason();
if (aObj == null) {
aObj = new OutstandingReasonType(valueParam);
setOutstandingReason(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;
}
/**
* 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 UUIDType and never null
*/
@Nonnull
public UUIDType setUUID(
@Nullable
final String valueParam) {
UUIDType aObj = getUUID();
if (aObj == null) {
aObj = new UUIDType(valueParam);
setUUID(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 LineStatusCodeType and never null
*/
@Nonnull
public LineStatusCodeType setLineStatusCode(
@Nullable
final String valueParam) {
LineStatusCodeType aObj = getLineStatusCode();
if (aObj == null) {
aObj = new LineStatusCodeType(valueParam);
setLineStatusCode(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type BigDecimal
* 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 DeliveredQuantityType and never null
*/
@Nonnull
public DeliveredQuantityType setDeliveredQuantity(
@Nullable
final BigDecimal valueParam) {
DeliveredQuantityType aObj = getDeliveredQuantity();
if (aObj == null) {
aObj = new DeliveredQuantityType(valueParam);
setDeliveredQuantity(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type BigDecimal
* 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 BackorderQuantityType and never null
*/
@Nonnull
public BackorderQuantityType setBackorderQuantity(
@Nullable
final BigDecimal valueParam) {
BackorderQuantityType aObj = getBackorderQuantity();
if (aObj == null) {
aObj = new BackorderQuantityType(valueParam);
setBackorderQuantity(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type BigDecimal
* 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 OutstandingQuantityType and never null
*/
@Nonnull
public OutstandingQuantityType setOutstandingQuantity(
@Nullable
final BigDecimal valueParam) {
OutstandingQuantityType aObj = getOutstandingQuantity();
if (aObj == null) {
aObj = new OutstandingQuantityType(valueParam);
setOutstandingQuantity(aObj);
} else {
aObj.setValue(valueParam);
}
return aObj;
}
/**
* Special setter with value of type BigDecimal
* 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 OversupplyQuantityType and never null
*/
@Nonnull
public OversupplyQuantityType setOversupplyQuantity(
@Nullable
final BigDecimal valueParam) {
OversupplyQuantityType aObj = getOversupplyQuantity();
if (aObj == null) {
aObj = new OversupplyQuantityType(valueParam);
setOversupplyQuantity(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 UUIDType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained UUIDType object or null
*/
@Nullable
public String getUUIDValue() {
UUIDType aObj = getUUID();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained NoteType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained NoteType object or null
*/
@Nullable
public String getNoteValue() {
NoteType aObj = getNote();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained LineStatusCodeType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained LineStatusCodeType object or null
*/
@Nullable
public String getLineStatusCodeValue() {
LineStatusCodeType aObj = getLineStatusCode();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained DeliveredQuantityType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained DeliveredQuantityType object or null
*/
@Nullable
public BigDecimal getDeliveredQuantityValue() {
DeliveredQuantityType aObj = getDeliveredQuantity();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained BackorderQuantityType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained BackorderQuantityType object or null
*/
@Nullable
public BigDecimal getBackorderQuantityValue() {
BackorderQuantityType aObj = getBackorderQuantity();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained BackorderReasonType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained BackorderReasonType object or null
*/
@Nullable
public String getBackorderReasonValue() {
BackorderReasonType aObj = getBackorderReason();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained OutstandingQuantityType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained OutstandingQuantityType object or null
*/
@Nullable
public BigDecimal getOutstandingQuantityValue() {
OutstandingQuantityType aObj = getOutstandingQuantity();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained OutstandingReasonType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained OutstandingReasonType object or null
*/
@Nullable
public String getOutstandingReasonValue() {
OutstandingReasonType aObj = getOutstandingReason();
return ((aObj == null)?null:aObj.getValue());
}
/**
* Get the value of the contained OversupplyQuantityType object
* Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value
*
* @return
* Either the value of the contained OversupplyQuantityType object or null
*/
@Nullable
public BigDecimal getOversupplyQuantityValue() {
OversupplyQuantityType aObj = getOversupplyQuantity();
return ((aObj == null)?null:aObj.getValue());
}
}