GLS ShipIT
GLS ShipIT - REST services
 All Classes Namespaces Files Functions Variables Enumerator Pages
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.XmlType;
9 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
10 import org.w3._2001.xmlschema.Adapter3;
11 
12 
37 @XmlAccessorType(XmlAccessType.FIELD)
38 @XmlType(name = "HazardousGood", propOrder = {
39  "glsHazNo",
40  "weight"
41 })
42 public class HazardousGood {
43 
44  @XmlElement(name = "GLSHazNo", required = true)
45  protected String glsHazNo;
46  @XmlElement(name = "Weight", required = true, type = String.class)
47  @XmlJavaTypeAdapter(Adapter3 .class)
48  protected BigDecimal weight;
49 
58  public String getGLSHazNo() {
59  return glsHazNo;
60  }
61 
70  public void setGLSHazNo(String value) {
71  this.glsHazNo = value;
72  }
73 
82  public BigDecimal getWeight() {
83  return weight;
84  }
85 
94  public void setWeight(BigDecimal value) {
95  this.weight = value;
96  }
97 
98 }