GLS ShipIT  4.0.f3
GLS ShipIT - REST services
ExchangeService.java
Go to the documentation of this file.
1 
2 package eu.gls_group.fpcs.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 
40 @XmlAccessorType(XmlAccessType.FIELD)
41 @XmlType(name = "ExchangeService", propOrder = {
42  "serviceName",
43  "address",
44  "expectedWeight",
45  "exchangeTrackID"
46 })
47 public class ExchangeService {
48 
49  @XmlElement(name = "ServiceName", required = true)
50  protected String serviceName;
51  @XmlElement(name = "Address", required = true)
52  protected Address address;
53  @XmlElement(name = "ExpectedWeight", type = String.class)
54  @XmlJavaTypeAdapter(Adapter1 .class)
55  @XmlSchemaType(name = "decimal")
56  protected BigDecimal expectedWeight;
57  @XmlElement(name = "ExchangeTrackID")
58  protected String exchangeTrackID;
59 
68  public String getServiceName() {
69  return serviceName;
70  }
71 
80  public void setServiceName(String value) {
81  this.serviceName = value;
82  }
83 
92  public Address getAddress() {
93  return address;
94  }
95 
104  public void setAddress(Address value) {
105  this.address = value;
106  }
107 
116  public BigDecimal getExpectedWeight() {
117  return expectedWeight;
118  }
119 
128  public void setExpectedWeight(BigDecimal value) {
129  this.expectedWeight = value;
130  }
131 
140  public String getExchangeTrackID() {
141  return exchangeTrackID;
142  }
143 
152  public void setExchangeTrackID(String value) {
153  this.exchangeTrackID = value;
154  }
155 
156 }