GLS ShipIT 3.5.15 GLS ShipIT - REST services

tracking/UnitItem.java
Go to the documentation of this file.
1
2 package eu.glsgroup.fpcs.datatypes.soap.v1.tracking;
3
4 import java.util.ArrayList;
5 import java.util.Date;
6 import java.util.List;
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 org.w3._2001.xmlschema.Adapter2;
14
15
43 @XmlAccessorType(XmlAccessType.FIELD)
44 @XmlType(name = "UnitItem", propOrder = {
45 "trackID",
46 "parcelNumber",
47 "partnerParcelNumber",
48 "shipmentReference",
49 "shipmentUnitReference",
50 "initialDate",
51 "status"
52 })
53 public class UnitItem {
54
55 @XmlElement(name = "TrackID", required = true)
56 protected String trackID;
57 @XmlElement(name = "ParcelNumber")
58 protected String parcelNumber;
59 @XmlElement(name = "PartnerParcelNumber")
60 protected String partnerParcelNumber;
61 @XmlElement(name = "ShipmentReference")
62 protected List<String> shipmentReference;
63 @XmlElement(name = "ShipmentUnitReference")
64 protected List<String> shipmentUnitReference;
65 @XmlElement(name = "InitialDate", required = true, type = String.class)
66 @XmlJavaTypeAdapter(Adapter2 .class)
67 @XmlSchemaType(name = "dateTime")
68 protected Date initialDate;
69 @XmlElement(name = "Status", required = true)
70 protected String status;
71
80 public String getTrackID() {
81 return trackID;
82 }
83
92 public void setTrackID(String value) {
93 this.trackID = value;
94 }
95
104 public String getParcelNumber() {
105 return parcelNumber;
106 }
107
116 public void setParcelNumber(String value) {
117 this.parcelNumber = value;
118 }
119
128 public String getPartnerParcelNumber() {
129 return partnerParcelNumber;
130 }
131
140 public void setPartnerParcelNumber(String value) {
141 this.partnerParcelNumber = value;
142 }
143
166 public List<String> getShipmentReference() {
167 if (shipmentReference == null) {
168 shipmentReference = new ArrayList<String>();
169 }
170 return this.shipmentReference;
171 }
172
195 public List<String> getShipmentUnitReference() {
196 if (shipmentUnitReference == null) {
197 shipmentUnitReference = new ArrayList<String>();
198 }
199 return this.shipmentUnitReference;
200 }
201
210 public Date getInitialDate() {
211 return initialDate;
212 }
213
222 public void setInitialDate(Date value) {
223 this.initialDate = value;
224 }
225
234 public String getStatus() {
235 return status;
236 }
237
246 public void setStatus(String value) {
247 this.status = value;
248 }
249
250 }
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitItem.setTrackID
void setTrackID(String value)
Definition: tracking/UnitItem.java:92
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitItem.getParcelNumber
String getParcelNumber()
Definition: tracking/UnitItem.java:104
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitItem.getInitialDate
Date getInitialDate()
Definition: tracking/UnitItem.java:210
org
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitItem.getStatus
String getStatus()
Definition: tracking/UnitItem.java:234
org.w3._2001.xmlschema.Adapter2
Definition: org/w3/_2001/xmlschema/Adapter2.java:7
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitItem.setParcelNumber
void setParcelNumber(String value)
Definition: tracking/UnitItem.java:116
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitItem.getPartnerParcelNumber
String getPartnerParcelNumber()
Definition: tracking/UnitItem.java:128
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitItem.setInitialDate
void setInitialDate(Date value)
Definition: tracking/UnitItem.java:222
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitItem.setPartnerParcelNumber
void setPartnerParcelNumber(String value)
Definition: tracking/UnitItem.java:140
org.w3._2001
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitItem
Definition: tracking/UnitItem.java:53
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitItem.getShipmentReference
List< String > getShipmentReference()
Definition: tracking/UnitItem.java:166
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitItem.getShipmentUnitReference
List< String > getShipmentUnitReference()
Definition: tracking/UnitItem.java:195
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitItem.setStatus
void setStatus(String value)
Definition: tracking/UnitItem.java:246
org.w3._2001.xmlschema
Definition: org/w3/_2001/xmlschema/Adapter1.java:2
org.w3