GLS ShipIT 3.3.20 GLS ShipIT - SOAP 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
41 @XmlAccessorType(XmlAccessType.FIELD)
42 @XmlType(name = "UnitItem", propOrder = {
43 "trackID",
44 "shipmentReference",
45 "shipmentUnitReference",
46 "initialDate",
47 "status"
48 })
49 public class UnitItem {
50
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)
58 @XmlJavaTypeAdapter(Adapter2 .class)
59 @XmlSchemaType(name = "dateTime")
60 protected Date initialDate;
61 @XmlElement(name = "Status", required = true)
62 protected String status;
63
72 public String getTrackID() {
73 return trackID;
74 }
75
84 public void setTrackID(String value) {
85 this.trackID = value;
86 }
87
110 public List<String> getShipmentReference() {
111 if (shipmentReference == null) {
112 shipmentReference = new ArrayList<String>();
113 }
114 return this.shipmentReference;
115 }
116
139 public List<String> getShipmentUnitReference() {
140 if (shipmentUnitReference == null) {
141 shipmentUnitReference = new ArrayList<String>();
142 }
143 return this.shipmentUnitReference;
144 }
145
154 public Date getInitialDate() {
155 return initialDate;
156 }
157
166 public void setInitialDate(Date value) {
167 this.initialDate = value;
168 }
169
178 public String getStatus() {
179 return status;
180 }
181
190 public void setStatus(String value) {
191 this.status = value;
192 }
193
194 }
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitItem.setTrackID
void setTrackID(String value)
Definition: tracking/UnitItem.java:84
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitItem.getInitialDate
Date getInitialDate()
Definition: tracking/UnitItem.java:154
org
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitItem.getStatus
String getStatus()
Definition: tracking/UnitItem.java:178
org.w3._2001.xmlschema.Adapter2
Definition: org/w3/_2001/xmlschema/Adapter2.java:7
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitItem.setInitialDate
void setInitialDate(Date value)
Definition: tracking/UnitItem.java:166
org.w3._2001
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitItem
Definition: tracking/UnitItem.java:49
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitItem.getShipmentReference
List< String > getShipmentReference()
Definition: tracking/UnitItem.java:110
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitItem.getShipmentUnitReference
List< String > getShipmentUnitReference()
Definition: tracking/UnitItem.java:139
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitItem.setStatus
void setStatus(String value)
Definition: tracking/UnitItem.java:190
org.w3._2001.xmlschema
Definition: org/w3/_2001/xmlschema/Adapter1.java:2
org.w3