2 package eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing;
4 import java.util.ArrayList;
7 import javax.xml.bind.annotation.XmlAccessType;
8 import javax.xml.bind.annotation.XmlAccessorType;
9 import javax.xml.bind.annotation.XmlElement;
10 import javax.xml.bind.annotation.XmlSchemaType;
11 import javax.xml.bind.annotation.XmlType;
12 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
13 import eu.glsgroup.fpcs.datatypes.soap.v1.common.Consignee;
14 import eu.glsgroup.fpcs.datatypes.soap.v1.common.ProductType;
15 import eu.glsgroup.fpcs.datatypes.soap.v1.common.ShipmentService;
16 import eu.glsgroup.fpcs.datatypes.soap.v1.common.Shipper;
17 import org.w3._2001.xmlschema.Adapter2;
52 @XmlAccessorType(XmlAccessType.FIELD)
53 @XmlType(name =
"Shipment", propOrder = {
60 "expressAltDeliveryAllowed",
68 @XmlElement(name =
"ShipmentReference")
69 protected List<String> shipmentReference;
70 @XmlElement(name = "ShippingDate", type = String.class)
72 @XmlSchemaType(name = "date")
73 protected Date shippingDate;
74 @XmlElement(name = "IncotermCode")
75 protected String incotermCode;
76 @XmlElement(name = "Identifier")
77 protected String identifier;
78 @XmlElement(name = "Middleware")
79 protected String middleware;
80 @XmlElement(name = "Product", required = true)
82 @XmlElement(name = "ExpressAltDeliveryAllowed")
83 protected Boolean expressAltDeliveryAllowed;
84 @XmlElement(name = "
Consignee", required = true)
85 protected Consignee consignee;
86 @XmlElement(name = "
Shipper", required = true)
87 protected Shipper shipper;
89 protected List<ShipmentUnit> shipmentUnit;
90 @XmlElement(name = "Service")
115 public List<String> getShipmentReference() {
116 if (shipmentReference == null) {
117 shipmentReference =
new ArrayList<String>();
119 return this.shipmentReference;
143 this.shippingDate = value;
167 this.incotermCode = value;
191 this.identifier = value;
215 this.middleware = value;
239 this.product = value;
251 return expressAltDeliveryAllowed;
263 this.expressAltDeliveryAllowed = value;
287 this.consignee = value;
311 this.shipper = value;
337 if (shipmentUnit == null) {
338 shipmentUnit =
new ArrayList<ShipmentUnit>();
340 return this.shipmentUnit;
366 if (service == null) {
367 service =
new ArrayList<ShipmentService>();