GLS ShipIT  2.8.11
GLS ShipIT - REST services
ServiceInfo.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 
34 @XmlAccessorType(XmlAccessType.FIELD)
35 @XmlType(name = "ServiceInfo", propOrder = {
36  "header",
37  "information"
38 })
39 public class ServiceInfo {
40 
41  @XmlElement(name = "Header", required = true)
42  protected String header;
43  @XmlElement(name = "Information")
44  protected List<Information> information;
45 
54  public String getHeader() {
55  return header;
56  }
57 
66  public void setHeader(String value) {
67  this.header = value;
68  }
69 
92  public List<Information> getInformation() {
93  if (information == null) {
94  information = new ArrayList<Information>();
95  }
96  return this.information;
97  }
98 
99 }