1
2
3
4
5
6
7
8
9 package org.springframework.ws.samples.airline.schema;
10
11 import javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlElement;
14 import javax.xml.bind.annotation.XmlRootElement;
15 import javax.xml.bind.annotation.XmlType;
16 import javax.xml.datatype.XMLGregorianCalendar;
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41 @XmlAccessorType(XmlAccessType.FIELD)
42 @XmlType(name = "", propOrder = {
43
44 })
45 @XmlRootElement(name = "GetFlightsRequest", namespace = "http://www.springframework.org/spring-ws/samples/airline/schemas/messages")
46 public class GetFlightsRequest {
47
48 @XmlElement(namespace = "http://www.springframework.org/spring-ws/samples/airline/schemas/messages", required = true)
49 protected String from;
50 @XmlElement(namespace = "http://www.springframework.org/spring-ws/samples/airline/schemas/messages", required = true)
51 protected String to;
52 @XmlElement(namespace = "http://www.springframework.org/spring-ws/samples/airline/schemas/messages", required = true)
53 protected XMLGregorianCalendar departureDate;
54 @XmlElement(namespace = "http://www.springframework.org/spring-ws/samples/airline/schemas/messages")
55 protected ServiceClass serviceClass;
56
57
58
59
60
61
62
63
64
65 public String getFrom() {
66 return from;
67 }
68
69
70
71
72
73
74
75
76
77 public void setFrom(String value) {
78 this.from = value;
79 }
80
81
82
83
84
85
86
87
88
89 public String getTo() {
90 return to;
91 }
92
93
94
95
96
97
98
99
100
101 public void setTo(String value) {
102 this.to = value;
103 }
104
105
106
107
108
109
110
111
112
113 public XMLGregorianCalendar getDepartureDate() {
114 return departureDate;
115 }
116
117
118
119
120
121
122
123
124
125 public void setDepartureDate(XMLGregorianCalendar value) {
126 this.departureDate = value;
127 }
128
129
130
131
132
133
134
135
136
137 public ServiceClass getServiceClass() {
138 return serviceClass;
139 }
140
141
142
143
144
145
146
147
148
149 public void setServiceClass(ServiceClass value) {
150 this.serviceClass = value;
151 }
152
153 }