GLS ShipIT  2.8.11
GLS ShipIT - REST services
HazardousGoodsService.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.common;
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 = "HazardousGoodsService", propOrder = {
36  "serviceName",
37  "hazardousGood"
38 })
39 public class HazardousGoodsService {
40 
41  @XmlElement(name = "ServiceName", required = true)
42  protected String serviceName;
43  @XmlElement(name = "HazardousGood", required = true)
44  protected List<HazardousGood> hazardousGood;
45 
54  public String getServiceName() {
55  return serviceName;
56  }
57 
66  public void setServiceName(String value) {
67  this.serviceName = value;
68  }
69 
92  public List<HazardousGood> getHazardousGood() {
93  if (hazardousGood == null) {
94  hazardousGood = new ArrayList<HazardousGood>();
95  }
96  return this.hazardousGood;
97  }
98 
99 }