GLS ShipIT 5.0.11 GLS ShipIT - SOAP services

UnitDetail.java
Go to the documentation of this file.
1
2 package eu.glsgroup.fpcs.datatypes.soap.v1.tracking;
3
4 import java.math.BigDecimal;
5 import java.util.ArrayList;
6 import java.util.Date;
7 import java.util.List;
8 import javax.xml.bind.annotation.XmlAccessType;
9 import javax.xml.bind.annotation.XmlAccessorType;
10 import javax.xml.bind.annotation.XmlElement;
11 import javax.xml.bind.annotation.XmlSchemaType;
12 import javax.xml.bind.annotation.XmlType;
13 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
14 import eu.gls_group.fpcs.v1.common.Consignee;
15 import eu.gls_group.fpcs.v1.common.ProductType;
16 import eu.gls_group.fpcs.v1.common.ShipmentService;
17 import eu.gls_group.fpcs.v1.common.Shipper;
18 import eu.gls_group.fpcs.v1.common.UnitService;
19 import org.w3._2001.xmlschema.Adapter1;
20 import org.w3._2001.xmlschema.Adapter2;
21
22
55 @XmlAccessorType(XmlAccessType.FIELD)
56 @XmlType(name = "UnitDetail", propOrder = {
57 "trackID",
58 "shipmentReference",
59 "shipmentUnitReference",
60 "weight",
61 "deliveryDate",
62 "signature",
63 "product",
64 "consignee",
65 "shipper",
66 "service",
67 "shipmentService",
68 "history"
69 })
70 public class UnitDetail {
71
72 @XmlElement(name = "TrackID", required = true)
73 protected String trackID;
74 @XmlElement(name = "ShipmentReference")
75 protected List<String> shipmentReference;
76 @XmlElement(name = "ShipmentUnitReference")
77 protected List<String> shipmentUnitReference;
78 @XmlElement(name = "Weight", required = true, type = String.class)
79 @XmlJavaTypeAdapter(Adapter1 .class)
80 @XmlSchemaType(name = "decimal")
81 protected BigDecimal weight;
82 @XmlElement(name = "DeliveryDate", type = String.class)
83 @XmlJavaTypeAdapter(Adapter2 .class)
84 @XmlSchemaType(name = "dateTime")
85 protected Date deliveryDate;
86 @XmlElement(name = "Signature")
87 protected String signature;
88 @XmlElement(name = "Product", required = true)
89 @XmlSchemaType(name = "string")
90 protected ProductType product;
91 @XmlElement(name = "Consignee", required = true)
92 protected Consignee consignee;
93 @XmlElement(name = "Shipper", required = true)
94 protected Shipper shipper;
95 @XmlElement(name = "Service")
96 protected List<UnitService> service;
97 @XmlElement(name = "ShipmentService")
98 protected List<ShipmentService> shipmentService;
99 @XmlElement(name = "History")
100 protected List<TUHistory> history;
101
110 public String getTrackID() {
111 return trackID;
112 }
113
122 public void setTrackID(String value) {
123 this.trackID = value;
124 }
125
148 public List<String> getShipmentReference() {
149 if (shipmentReference == null) {
150 shipmentReference = new ArrayList<String>();
151 }
152 return this.shipmentReference;
153 }
154
177 public List<String> getShipmentUnitReference() {
178 if (shipmentUnitReference == null) {
179 shipmentUnitReference = new ArrayList<String>();
180 }
181 return this.shipmentUnitReference;
182 }
183
192 public BigDecimal getWeight() {
193 return weight;
194 }
195
204 public void setWeight(BigDecimal value) {
205 this.weight = value;
206 }
207
216 public Date getDeliveryDate() {
217 return deliveryDate;
218 }
219
228 public void setDeliveryDate(Date value) {
229 this.deliveryDate = value;
230 }
231
240 public String getSignature() {
241 return signature;
242 }
243
252 public void setSignature(String value) {
253 this.signature = value;
254 }
255
264 public ProductType getProduct() {
265 return product;
266 }
267
276 public void setProduct(ProductType value) {
277 this.product = value;
278 }
279
288 public Consignee getConsignee() {
289 return consignee;
290 }
291
300 public void setConsignee(Consignee value) {
301 this.consignee = value;
302 }
303
312 public Shipper getShipper() {
313 return shipper;
314 }
315
324 public void setShipper(Shipper value) {
325 this.shipper = value;
326 }
327
350 public List<UnitService> getService() {
351 if (service == null) {
352 service = new ArrayList<UnitService>();
353 }
354 return this.service;
355 }
356
379 public List<ShipmentService> getShipmentService() {
380 if (shipmentService == null) {
381 shipmentService = new ArrayList<ShipmentService>();
382 }
383 return this.shipmentService;
384 }
385
408 public List<TUHistory> getHistory() {
409 if (history == null) {
410 history = new ArrayList<TUHistory>();
411 }
412 return this.history;
413 }
414
415 }
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitDetail.setConsignee
void setConsignee(Consignee value)
Definition: UnitDetail.java:300
eu.gls_group.fpcs.v1
eu.gls_group.fpcs.v1.common.UnitService
Definition: UnitService.java:46
eu.gls_group.fpcs.v1.common
Definition: eu/gls_group/fpcs/v1/common/Adapter1.java:2
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitDetail.setTrackID
void setTrackID(String value)
Definition: UnitDetail.java:122
eu
org
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.TUHistory
Definition: TUHistory.java:49
eu.gls_group
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitDetail.getWeight
BigDecimal getWeight()
Definition: UnitDetail.java:192
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitDetail.getShipmentReference
List< String > getShipmentReference()
Definition: UnitDetail.java:148
org.w3._2001.xmlschema.Adapter2
Definition: org/w3/_2001/xmlschema/Adapter2.java:7
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitDetail.setShipper
void setShipper(Shipper value)
Definition: UnitDetail.java:324
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitDetail
Definition: UnitDetail.java:70
eu.gls_group.fpcs.v1.common.ShipmentService
Definition: ShipmentService.java:60
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitDetail.getDeliveryDate
Date getDeliveryDate()
Definition: UnitDetail.java:216
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitDetail.setDeliveryDate
void setDeliveryDate(Date value)
Definition: UnitDetail.java:228
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitDetail.setSignature
void setSignature(String value)
Definition: UnitDetail.java:252
eu.gls_group.fpcs.v1.common.Consignee
Definition: gls_group/fpcs/v1/common/Consignee.java:44
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitDetail.getHistory
List< TUHistory > getHistory()
Definition: UnitDetail.java:408
org.w3._2001
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitDetail.getSignature
String getSignature()
Definition: UnitDetail.java:240
org.w3._2001.xmlschema.Adapter1
Definition: org/w3/_2001/xmlschema/Adapter1.java:7
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitDetail.getShipmentService
List< ShipmentService > getShipmentService()
Definition: UnitDetail.java:379
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitDetail.setWeight
void setWeight(BigDecimal value)
Definition: UnitDetail.java:204
eu.gls_group.fpcs
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitDetail.getService
List< UnitService > getService()
Definition: UnitDetail.java:350
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitDetail.getProduct
ProductType getProduct()
Definition: UnitDetail.java:264
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitDetail.setProduct
void setProduct(ProductType value)
Definition: UnitDetail.java:276
eu.gls_group.fpcs.v1.common.Shipper
Definition: gls_group/fpcs/v1/common/Shipper.java:44
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitDetail.getConsignee
Consignee getConsignee()
Definition: UnitDetail.java:288
org.w3._2001.xmlschema
Definition: org/w3/_2001/xmlschema/Adapter1.java:2
eu.gls_group.fpcs.v1.common.ProductType
Definition: ProductType.java:29
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitDetail.getShipmentUnitReference
List< String > getShipmentUnitReference()
Definition: UnitDetail.java:177
org.w3
eu.glsgroup.fpcs.datatypes.soap.v1.tracking.UnitDetail.getShipper
Shipper getShipper()
Definition: UnitDetail.java:312