GLS ShipIT 5.1.4 GLS ShipIT - REST services

HazardousGoodsService.java
Go to the documentation of this file.
1
2 package eu.gls_group.fpcs.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 }
eu.gls_group.fpcs.v1.common.HazardousGoodsService.getHazardousGood
List< HazardousGood > getHazardousGood()
Definition: HazardousGoodsService.java:94
eu.gls_group.fpcs.v1.common.HazardousGood
Definition: HazardousGood.java:43
eu.gls_group.fpcs.v1.common.HazardousGoodsService.setServiceName
void setServiceName(String value)
Definition: HazardousGoodsService.java:68
eu.gls_group.fpcs.v1.common.HazardousGoodsService
Definition: HazardousGoodsService.java:41