GLS ShipIT
GLS ShipIT - REST services
 All Classes Namespaces Files Functions Variables Enumerator Pages
TULReferenceData.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.tracking;
3 
4 import java.util.Date;
5 import javax.xml.bind.annotation.XmlAccessType;
6 import javax.xml.bind.annotation.XmlAccessorType;
7 import javax.xml.bind.annotation.XmlElement;
8 import javax.xml.bind.annotation.XmlRootElement;
9 import javax.xml.bind.annotation.XmlSchemaType;
10 import javax.xml.bind.annotation.XmlType;
11 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
12 import org.w3._2001.xmlschema.Adapter2;
13 
14 
41 @XmlAccessorType(XmlAccessType.FIELD)
42 @XmlType(name = "", propOrder = {
43  "trackID",
44  "shipmentReference",
45  "shipmentUnitReference",
46  "dateFrom",
47  "dateTo"
48 })
49 @XmlRootElement(name = "TULReferenceData")
50 public class TULReferenceData {
51 
52  @XmlElement(name = "TrackID")
53  protected String trackID;
54  @XmlElement(name = "ShipmentReference")
55  protected String shipmentReference;
56  @XmlElement(name = "ShipmentUnitReference")
57  protected String shipmentUnitReference;
58  @XmlElement(name = "DateFrom", required = true, type = String.class)
59  @XmlJavaTypeAdapter(Adapter2 .class)
60  @XmlSchemaType(name = "date")
61  protected Date dateFrom;
62  @XmlElement(name = "DateTo", required = true, type = String.class)
63  @XmlJavaTypeAdapter(Adapter2 .class)
64  @XmlSchemaType(name = "date")
65  protected Date dateTo;
66 
75  public String getTrackID() {
76  return trackID;
77  }
78 
87  public void setTrackID(String value) {
88  this.trackID = value;
89  }
90 
99  public String getShipmentReference() {
100  return shipmentReference;
101  }
102 
111  public void setShipmentReference(String value) {
112  this.shipmentReference = value;
113  }
114 
123  public String getShipmentUnitReference() {
124  return shipmentUnitReference;
125  }
126 
135  public void setShipmentUnitReference(String value) {
136  this.shipmentUnitReference = value;
137  }
138 
147  public Date getDateFrom() {
148  return dateFrom;
149  }
150 
159  public void setDateFrom(Date value) {
160  this.dateFrom = value;
161  }
162 
171  public Date getDateTo() {
172  return dateTo;
173  }
174 
183  public void setDateTo(Date value) {
184  this.dateTo = value;
185  }
186 
187 }