GLS ShipIT
GLS ShipIT - REST services
 All Classes Namespaces Files Functions Variables Enumerator Pages
ExchangeService.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 
38 @XmlAccessorType(XmlAccessType.FIELD)
39 @XmlType(name = "ExchangeService", propOrder = {
40  "serviceName",
41  "address",
42  "expectedWeight"
43 })
44 public class ExchangeService {
45 
46  @XmlElement(name = "ServiceName", required = true)
47  protected String serviceName;
48  @XmlElement(name = "Address", required = true)
49  protected Address address;
50  @XmlElement(name = "ExpectedWeight", type = String.class)
51  @XmlJavaTypeAdapter(Adapter3 .class)
52  protected BigDecimal expectedWeight;
53 
62  public String getServiceName() {
63  return serviceName;
64  }
65 
74  public void setServiceName(String value) {
75  this.serviceName = value;
76  }
77 
86  public Address getAddress() {
87  return address;
88  }
89 
98  public void setAddress(Address value) {
99  this.address = value;
100  }
101 
110  public BigDecimal getExpectedWeight() {
111  return expectedWeight;
112  }
113 
122  public void setExpectedWeight(BigDecimal value) {
123  this.expectedWeight = value;
124  }
125 
126 }