GLS ShipIT  3.3.20
GLS ShipIT - REST services
HazardousGood.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.common;
3 
4 import java.math.BigDecimal;
5 import javax.xml.bind.annotation.XmlAccessType;
6 import javax.xml.bind.annotation.XmlAccessorType;
7 import javax.xml.bind.annotation.XmlElement;
8 import javax.xml.bind.annotation.XmlSchemaType;
9 import javax.xml.bind.annotation.XmlType;
10 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
12 
13 
38 @XmlAccessorType(XmlAccessType.FIELD)
39 @XmlType(name = "HazardousGood", propOrder = {
40  "glsHazNo",
41  "weight"
42 })
43 public class HazardousGood {
44 
45  @XmlElement(name = "GLSHazNo", required = true)
46  protected String glsHazNo;
47  @XmlElement(name = "Weight", required = true, type = String.class)
48  @XmlJavaTypeAdapter(Adapter1 .class)
49  @XmlSchemaType(name = "decimal")
50  protected BigDecimal weight;
51 
60  public String getGLSHazNo() {
61  return glsHazNo;
62  }
63 
72  public void setGLSHazNo(String value) {
73  this.glsHazNo = value;
74  }
75 
84  public BigDecimal getWeight() {
85  return weight;
86  }
87 
96  public void setWeight(BigDecimal value) {
97  this.weight = value;
98  }
99 
100 }