GLS ShipIT
GLS ShipIT - REST services
 All Classes Namespaces Files Functions Variables Enumerator Pages
ServiceArea.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.shipmentprocessing;
3 
4 import java.util.ArrayList;
5 import java.util.List;
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.XmlType;
10 
11 
35 @XmlAccessorType(XmlAccessType.FIELD)
36 @XmlType(name = "ServiceArea", propOrder = {
37  "service"
38 })
39 public class ServiceArea {
40 
41  @XmlElement(name = "Service", required = true)
42  protected List<ServiceInfo> service;
43 
66  public List<ServiceInfo> getService() {
67  if (service == null) {
68  service = new ArrayList<ServiceInfo>();
69  }
70  return this.service;
71  }
72 
73 }