GLS ShipIT 3.5.15 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;
11 import org.w3._2001.xmlschema.Adapter1;
12
13
39 @XmlAccessorType(XmlAccessType.FIELD)
40 @XmlType(name = "ExchangeService", propOrder = {
41 "serviceName",
42 "address",
43 "expectedWeight"
44 })
45 public class ExchangeService {
46
47 @XmlElement(name = "ServiceName", required = true)
48 protected String serviceName;
49 @XmlElement(name = "Address", required = true)
50 protected Address address;
51 @XmlElement(name = "ExpectedWeight", type = String.class)
52 @XmlJavaTypeAdapter(Adapter1 .class)
53 @XmlSchemaType(name = "decimal")
54 protected BigDecimal expectedWeight;
55
64 public String getServiceName() {
65 return serviceName;
66 }
67
76 public void setServiceName(String value) {
77 this.serviceName = value;
78 }
79
88 public Address getAddress() {
89 return address;
90 }
91
100 public void setAddress(Address value) {
101 this.address = value;
102 }
103
112 public BigDecimal getExpectedWeight() {
113 return expectedWeight;
114 }
115
124 public void setExpectedWeight(BigDecimal value) {
125 this.expectedWeight = value;
126 }
127
128 }
eu.gls_group.fpcs.v1.common.ExchangeService.getExpectedWeight
BigDecimal getExpectedWeight()
Definition: ExchangeService.java:112
eu.gls_group.fpcs.v1.common.Adapter1
Definition: eu/gls_group/fpcs/v1/common/Adapter1.java:7
org
eu.gls_group.fpcs.v1.common.ExchangeService.setAddress
void setAddress(Address value)
Definition: ExchangeService.java:100
org.w3._2001
org.w3._2001.xmlschema.Adapter1
Definition: org/w3/_2001/xmlschema/Adapter1.java:7
eu.gls_group.fpcs.v1.common.ExchangeService.getAddress
Address getAddress()
Definition: ExchangeService.java:88
eu.gls_group.fpcs.v1.common.ExchangeService.setServiceName
void setServiceName(String value)
Definition: ExchangeService.java:76
eu.gls_group.fpcs.v1.common.Address
Definition: gls_group/fpcs/v1/common/Address.java:60
eu.gls_group.fpcs.v1.common.ExchangeService
Definition: ExchangeService.java:45
eu.gls_group.fpcs.v1.common.ExchangeService.setExpectedWeight
void setExpectedWeight(BigDecimal value)
Definition: ExchangeService.java:124
org.w3._2001.xmlschema
Definition: org/w3/_2001/xmlschema/Adapter1.java:2
org.w3