2 package eu.glsgroup.fpcs.datatypes.soap.v1.tracking;
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;
41 @XmlAccessorType(XmlAccessType.FIELD)
42 @XmlType(name =
"UnitItem", propOrder = {
45 "shipmentUnitReference",
51 @XmlElement(name =
"TrackID", required =
true)
52 protected String trackID;
53 @XmlElement(name = "ShipmentReference")
54 protected List<String> shipmentReference;
55 @XmlElement(name = "ShipmentUnitReference")
56 protected List<String> shipmentUnitReference;
57 @XmlElement(name = "InitialDate", required = true, type = String.class)
59 @XmlSchemaType(name = "dateTime")
60 protected Date initialDate;
61 @XmlElement(name = "Status", required = true)
62 protected String status;
72 public String getTrackID() {
111 if (shipmentReference == null) {
112 shipmentReference =
new ArrayList<String>();
114 return this.shipmentReference;
140 if (shipmentUnitReference == null) {
141 shipmentUnitReference =
new ArrayList<String>();
143 return this.shipmentUnitReference;
167 this.initialDate = value;
void setTrackID(String value)
void setInitialDate(Date value)
List< String > getShipmentReference()
List< String > getShipmentUnitReference()
void setStatus(String value)