GLS ShipIT
GLS ShipIT - REST services
 All Classes Namespaces Files Functions Variables Enumerator Pages
HazardousGoodsService.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.common;
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 
36 @XmlAccessorType(XmlAccessType.FIELD)
37 @XmlType(name = "HazardousGoodsService", propOrder = {
38  "serviceName",
39  "hazardousGood"
40 })
41 public class HazardousGoodsService {
42 
43  @XmlElement(name = "ServiceName", required = true)
44  protected String serviceName;
45  @XmlElement(name = "HazardousGood", required = true)
46  protected List<HazardousGood> hazardousGood;
47 
56  public String getServiceName() {
57  return serviceName;
58  }
59 
68  public void setServiceName(String value) {
69  this.serviceName = value;
70  }
71 
94  public List<HazardousGood> getHazardousGood() {
95  if (hazardousGood == null) {
96  hazardousGood = new ArrayList<HazardousGood>();
97  }
98  return this.hazardousGood;
99  }
100 
101 }