2 package eu.glsgroup.fpcs.datatypes.soap.v1.tracking;
6 import javax.xml.bind.annotation.XmlAccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlElement;
9 import javax.xml.bind.annotation.XmlSchemaType;
10 import javax.xml.bind.annotation.XmlType;
11 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
12 import java.util.ArrayList;
13 import java.util.Date;
14 import java.util.List;
40 @XmlAccessorType(XmlAccessType.FIELD)
41 @XmlType(name =
"UnitItem", propOrder = {
44 "shipmentUnitReference",
50 @XmlElement(name =
"TrackID", required =
true)
51 protected String trackID;
52 @XmlElement(name = "ShipmentReference")
53 protected List<String> shipmentReference;
54 @XmlElement(name = "ShipmentUnitReference")
55 protected List<String> shipmentUnitReference;
56 @XmlElement(name = "InitialDate", required = true, type = String.class)
58 @XmlSchemaType(name = "dateTime")
59 protected Date initialDate;
60 @XmlElement(name = "Status", required = true)
61 protected String status;
71 public String getTrackID() {
110 if (shipmentReference == null) {
111 shipmentReference =
new ArrayList<String>();
113 return this.shipmentReference;
139 if (shipmentUnitReference == null) {
140 shipmentUnitReference =
new ArrayList<String>();
142 return this.shipmentUnitReference;
166 this.initialDate = value;
void setTrackID(String value)
void setInitialDate(Date value)
List< String > getShipmentReference()
List< String > getShipmentUnitReference()
void setStatus(String value)