GLS ShipIT  2.8.11
GLS ShipIT - REST services
ServiceArea.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing;
3 
4 import javax.xml.bind.annotation.XmlAccessType;
5 import javax.xml.bind.annotation.XmlAccessorType;
6 import javax.xml.bind.annotation.XmlElement;
7 import javax.xml.bind.annotation.XmlType;
8 import java.util.ArrayList;
9 import java.util.List;
10 
11 
33 @XmlAccessorType(XmlAccessType.FIELD)
34 @XmlType(name = "ServiceArea", propOrder = {
35  "service"
36 })
37 public class ServiceArea {
38 
39  @XmlElement(name = "Service", required = true)
40  protected List<ServiceInfo> service;
41 
64  public List<ServiceInfo> getService() {
65  if (service == null) {
66  service = new ArrayList<ServiceInfo>();
67  }
68  return this.service;
69  }
70 
71 }