GLS ShipIT  2.8.11
GLS ShipIT - REST services
TULReferenceData.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.tracking;
3 
5 
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.XmlRootElement;
10 import javax.xml.bind.annotation.XmlSchemaType;
11 import javax.xml.bind.annotation.XmlType;
12 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
13 import java.util.Date;
14 
15 
40 @XmlAccessorType(XmlAccessType.FIELD)
41 @XmlType(name = "", propOrder = {
42  "trackID",
43  "shipmentReference",
44  "shipmentUnitReference",
45  "dateFrom",
46  "dateTo"
47 })
48 @XmlRootElement(name = "TULReferenceData")
49 public class TULReferenceData {
50 
51  @XmlElement(name = "TrackID")
52  protected String trackID;
53  @XmlElement(name = "ShipmentReference")
54  protected String shipmentReference;
55  @XmlElement(name = "ShipmentUnitReference")
56  protected String shipmentUnitReference;
57  @XmlElement(name = "DateFrom", required = true, type = String.class)
58  @XmlJavaTypeAdapter(Adapter2.class)
59  @XmlSchemaType(name = "date")
60  protected Date dateFrom;
61  @XmlElement(name = "DateTo", required = true, type = String.class)
62  @XmlJavaTypeAdapter(Adapter2.class)
63  @XmlSchemaType(name = "date")
64  protected Date dateTo;
65 
74  public String getTrackID() {
75  return trackID;
76  }
77 
86  public void setTrackID(String value) {
87  this.trackID = value;
88  }
89 
98  public String getShipmentReference() {
99  return shipmentReference;
100  }
101 
110  public void setShipmentReference(String value) {
111  this.shipmentReference = value;
112  }
113 
122  public String getShipmentUnitReference() {
123  return shipmentUnitReference;
124  }
125 
134  public void setShipmentUnitReference(String value) {
135  this.shipmentUnitReference = value;
136  }
137 
146  public Date getDateFrom() {
147  return dateFrom;
148  }
149 
158  public void setDateFrom(Date value) {
159  this.dateFrom = value;
160  }
161 
170  public Date getDateTo() {
171  return dateTo;
172  }
173 
182  public void setDateTo(Date value) {
183  this.dateTo = value;
184  }
185 
186 }