|
@@ -1,279 +1,279 @@ |
1 |
|
- |
|
2 |
|
- |
package org.litesoft.rest.quotes.v1; |
3 |
|
- |
|
4 |
|
- |
import java.io.Serializable; |
5 |
|
- |
import java.util.ArrayList; |
6 |
|
- |
import java.util.Collection; |
7 |
|
- |
import java.util.List; |
8 |
|
- |
import javax.xml.bind.annotation.XmlAccessType; |
9 |
|
- |
import javax.xml.bind.annotation.XmlAccessorType; |
10 |
|
- |
import javax.xml.bind.annotation.XmlAttribute; |
11 |
|
- |
import javax.xml.bind.annotation.XmlElement; |
12 |
|
- |
import javax.xml.bind.annotation.XmlRootElement; |
13 |
|
- |
import javax.xml.bind.annotation.XmlType; |
14 |
|
- |
import org.litesoft.rest.adapters.JAXBgeneratedClassSuperClass; |
15 |
|
- |
|
16 |
|
- |
|
17 |
|
- |
/** |
18 |
|
- |
* <p>Java class for anonymous complex type. |
19 |
|
- |
* |
20 |
|
- |
* <p>The following schema fragment specifies the expected content contained within this class. |
21 |
|
- |
* |
22 |
|
- |
* <pre> |
23 |
|
- |
* <complexType> |
24 |
|
- |
* <complexContent> |
25 |
|
- |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
26 |
|
- |
* <sequence> |
27 |
|
- |
* <element name="Quotes"> |
28 |
|
- |
* <complexType> |
29 |
|
- |
* <complexContent> |
30 |
|
- |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
31 |
|
- |
* <sequence> |
32 |
|
- |
* <element name="Quote" type="{}Quote" maxOccurs="unbounded"/> |
33 |
|
- |
* </sequence> |
34 |
|
- |
* </restriction> |
35 |
|
- |
* </complexContent> |
36 |
|
- |
* </complexType> |
37 |
|
- |
* </element> |
38 |
|
- |
* </sequence> |
39 |
|
- |
* <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> |
40 |
|
- |
* </restriction> |
41 |
|
- |
* </complexContent> |
42 |
|
- |
* </complexType> |
43 |
|
- |
* </pre> |
44 |
|
- |
* |
45 |
|
- |
* |
46 |
|
- |
*/ |
47 |
|
- |
@XmlAccessorType(XmlAccessType.FIELD) |
48 |
|
- |
@XmlType(name = "", propOrder = { |
49 |
|
- |
"quotes" |
50 |
|
- |
}) |
51 |
|
- |
@XmlRootElement(name = "Result") |
52 |
|
- |
public class Result |
53 |
|
- |
extends JAXBgeneratedClassSuperClass |
54 |
|
- |
implements Serializable |
55 |
|
- |
{ |
56 |
|
- |
|
57 |
|
- |
@XmlElement(name = "Quotes", required = true) |
58 |
|
- |
protected Result.Quotes quotes; |
59 |
|
- |
@XmlAttribute(name = "version", required = true) |
60 |
|
- |
protected String version; |
61 |
|
- |
|
62 |
|
- |
/** |
63 |
|
- |
* Default no-arg constructor |
64 |
|
- |
* |
65 |
|
- |
*/ |
66 |
|
- |
public Result() { |
67 |
|
- |
super(); |
68 |
|
- |
} |
69 |
|
- |
|
70 |
|
- |
/** |
71 |
|
- |
* Fully-initialising value constructor |
72 |
|
- |
* |
73 |
|
- |
*/ |
74 |
|
- |
public Result(final Result.Quotes quotes, final String version) { |
75 |
|
- |
super(); |
76 |
|
- |
this.quotes = quotes; |
77 |
|
- |
this.version = version; |
78 |
|
- |
} |
79 |
|
- |
|
80 |
|
- |
/** |
81 |
|
- |
* Gets the value of the quotes property. |
82 |
|
- |
* |
83 |
|
- |
* @return |
84 |
|
- |
* possible object is |
85 |
|
- |
* {@link Result.Quotes } |
86 |
|
- |
* |
87 |
|
- |
*/ |
88 |
|
- |
public Result.Quotes getQuotes() { |
89 |
|
- |
return quotes; |
90 |
|
- |
} |
91 |
|
- |
|
92 |
|
- |
/** |
93 |
|
- |
* Sets the value of the quotes property. |
94 |
|
- |
* |
95 |
|
- |
* @param value |
96 |
|
- |
* allowed object is |
97 |
|
- |
* {@link Result.Quotes } |
98 |
|
- |
* |
99 |
|
- |
*/ |
100 |
|
- |
public void setQuotes(Result.Quotes value) { |
101 |
|
- |
this.quotes = value; |
102 |
|
- |
} |
103 |
|
- |
|
104 |
|
- |
/** |
105 |
|
- |
* Gets the value of the version property. |
106 |
|
- |
* |
107 |
|
- |
* @return |
108 |
|
- |
* possible object is |
109 |
|
- |
* {@link String } |
110 |
|
- |
* |
111 |
|
- |
*/ |
112 |
|
- |
public String getVersion() { |
113 |
|
- |
return version; |
114 |
|
- |
} |
115 |
|
- |
|
116 |
|
- |
/** |
117 |
|
- |
* Sets the value of the version property. |
118 |
|
- |
* |
119 |
|
- |
* @param value |
120 |
|
- |
* allowed object is |
121 |
|
- |
* {@link String } |
122 |
|
- |
* |
123 |
|
- |
*/ |
124 |
|
- |
public void setVersion(String value) { |
125 |
|
- |
this.version = value; |
126 |
|
- |
} |
127 |
|
- |
|
128 |
|
- |
public Result.Quotes getQuotes_() { |
129 |
|
- |
Quotes zCur = getQuotes(); |
130 |
|
- |
if ( zCur == null ) setQuotes( zCur = new Quotes() ); |
131 |
|
- |
return zCur; |
132 |
|
- |
} |
133 |
|
- |
|
134 |
|
- |
public List<Quote> getQuotes_Quotes() { |
135 |
|
- |
return getQuotes_().getQuotes(); |
136 |
|
- |
} |
137 |
|
- |
|
138 |
|
- |
public void setQuotes_Quotes(List<Quote> values) { |
139 |
|
- |
getQuotes_().setQuotes( values ); |
140 |
|
- |
} |
141 |
|
- |
|
142 |
|
- |
public Result withQuotes(Result.Quotes value) { |
143 |
|
- |
setQuotes(value); |
144 |
|
- |
return this; |
145 |
|
- |
} |
146 |
|
- |
|
147 |
|
- |
public Result withVersion(String value) { |
148 |
|
- |
setVersion(value); |
149 |
|
- |
return this; |
150 |
|
- |
} |
151 |
|
- |
|
152 |
|
- |
public Result withQuotes_Quotes(Quote... values) { |
153 |
|
- |
if (values!= null) { |
154 |
|
- |
for (Quote value: values) { |
155 |
|
- |
getQuotes_Quotes().add(value); |
156 |
|
- |
} |
157 |
|
- |
} |
158 |
|
- |
return this; |
159 |
|
- |
} |
160 |
|
- |
|
161 |
|
- |
public Result withQuotes_Quotes(Collection<Quote> values) { |
162 |
|
- |
if (values!= null) { |
163 |
|
- |
getQuotes_Quotes().addAll(values); |
164 |
|
- |
} |
165 |
|
- |
return this; |
166 |
|
- |
} |
167 |
|
- |
|
168 |
|
- |
public Result withQuotes_Quotes(List<Quote> values) { |
169 |
|
- |
setQuotes_Quotes(values); |
170 |
|
- |
return this; |
171 |
|
- |
} |
172 |
|
- |
|
173 |
|
- |
|
174 |
|
- |
/** |
175 |
|
- |
* <p>Java class for anonymous complex type. |
176 |
|
- |
* |
177 |
|
- |
* <p>The following schema fragment specifies the expected content contained within this class. |
178 |
|
- |
* |
179 |
|
- |
* <pre> |
180 |
|
- |
* <complexType> |
181 |
|
- |
* <complexContent> |
182 |
|
- |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
183 |
|
- |
* <sequence> |
184 |
|
- |
* <element name="Quote" type="{}Quote" maxOccurs="unbounded"/> |
185 |
|
- |
* </sequence> |
186 |
|
- |
* </restriction> |
187 |
|
- |
* </complexContent> |
188 |
|
- |
* </complexType> |
189 |
|
- |
* </pre> |
190 |
|
- |
* |
191 |
|
- |
* |
192 |
|
- |
*/ |
193 |
|
- |
@XmlAccessorType(XmlAccessType.FIELD) |
194 |
|
- |
@XmlType(name = "", propOrder = { |
195 |
|
- |
"quotes" |
196 |
|
- |
}) |
197 |
|
- |
public static class Quotes |
198 |
|
- |
extends JAXBgeneratedClassSuperClass |
199 |
|
- |
implements Serializable |
200 |
|
- |
{ |
201 |
|
- |
|
202 |
|
- |
@XmlElement(name = "Quote", required = true) |
203 |
|
- |
protected List<Quote> quotes; |
204 |
|
- |
|
205 |
|
- |
/** |
206 |
|
- |
* Default no-arg constructor |
207 |
|
- |
* |
208 |
|
- |
*/ |
209 |
|
- |
public Quotes() { |
210 |
|
- |
super(); |
211 |
|
- |
} |
212 |
|
- |
|
213 |
|
- |
/** |
214 |
|
- |
* Fully-initialising value constructor |
215 |
|
- |
* |
216 |
|
- |
*/ |
217 |
|
- |
public Quotes(final List<Quote> quotes) { |
218 |
|
- |
super(); |
219 |
|
- |
this.quotes = quotes; |
220 |
|
- |
} |
221 |
|
- |
|
222 |
|
- |
/** |
223 |
|
- |
* Gets the value of the quotes property. |
224 |
|
- |
* |
225 |
|
- |
* <p> |
226 |
|
- |
* This accessor method returns a reference to the live list, |
227 |
|
- |
* not a snapshot. Therefore any modification you make to the |
228 |
|
- |
* returned list will be present inside the JAXB object. |
229 |
|
- |
* This is why there is not a <CODE>set</CODE> method for the quotes property. |
230 |
|
- |
* |
231 |
|
- |
* <p> |
232 |
|
- |
* For example, to add a new item, do as follows: |
233 |
|
- |
* <pre> |
234 |
|
- |
* getQuotes().add(newItem); |
235 |
|
- |
* </pre> |
236 |
|
- |
* |
237 |
|
- |
* |
238 |
|
- |
* <p> |
239 |
|
- |
* Objects of the following type(s) are allowed in the list |
240 |
|
- |
* {@link Quote } |
241 |
|
- |
* |
242 |
|
- |
* |
243 |
|
- |
*/ |
244 |
|
- |
public List<Quote> getQuotes() { |
245 |
|
- |
if (quotes == null) { |
246 |
|
- |
quotes = new ArrayList<Quote>(); |
247 |
|
- |
} |
248 |
|
- |
return this.quotes; |
249 |
|
- |
} |
250 |
|
- |
|
251 |
|
- |
public void setQuotes(List<Quote> values) { |
252 |
|
- |
List<Quote> zCollectionl = this.getQuotes(); |
253 |
|
- |
zCollectionl.addAll(values); |
254 |
|
- |
} |
255 |
|
- |
|
256 |
|
- |
public Result.Quotes withQuotes(Quote... values) { |
257 |
|
- |
if (values!= null) { |
258 |
|
- |
for (Quote value: values) { |
259 |
|
- |
getQuotes().add(value); |
260 |
|
- |
} |
261 |
|
- |
} |
262 |
|
- |
return this; |
263 |
|
- |
} |
264 |
|
- |
|
265 |
|
- |
public Result.Quotes withQuotes(Collection<Quote> values) { |
266 |
|
- |
if (values!= null) { |
267 |
|
- |
getQuotes().addAll(values); |
268 |
|
- |
} |
269 |
|
- |
return this; |
270 |
|
- |
} |
271 |
|
- |
|
272 |
|
- |
public Result.Quotes withQuotes(List<Quote> values) { |
273 |
|
- |
setQuotes(values); |
274 |
|
- |
return this; |
275 |
|
- |
} |
276 |
|
- |
|
277 |
|
- |
} |
278 |
|
- |
|
279 |
|
- |
} |
|
1 |
+ |
|
|
2 |
+ |
package org.litesoft.rest.quotes.v1; |
|
3 |
+ |
|
|
4 |
+ |
import java.io.Serializable; |
|
5 |
+ |
import java.util.ArrayList; |
|
6 |
+ |
import java.util.Collection; |
|
7 |
+ |
import java.util.List; |
|
8 |
+ |
import javax.xml.bind.annotation.XmlAccessType; |
|
9 |
+ |
import javax.xml.bind.annotation.XmlAccessorType; |
|
10 |
+ |
import javax.xml.bind.annotation.XmlAttribute; |
|
11 |
+ |
import javax.xml.bind.annotation.XmlElement; |
|
12 |
+ |
import javax.xml.bind.annotation.XmlRootElement; |
|
13 |
+ |
import javax.xml.bind.annotation.XmlType; |
|
14 |
+ |
import org.litesoft.rest.adapters.JAXBgeneratedClassSuperClass; |
|
15 |
+ |
|
|
16 |
+ |
|
|
17 |
+ |
/** |
|
18 |
+ |
* <p>Java class for anonymous complex type. |
|
19 |
+ |
* |
|
20 |
+ |
* <p>The following schema fragment specifies the expected content contained within this class. |
|
21 |
+ |
* |
|
22 |
+ |
* <pre> |
|
23 |
+ |
* <complexType> |
|
24 |
+ |
* <complexContent> |
|
25 |
+ |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|
26 |
+ |
* <sequence> |
|
27 |
+ |
* <element name="Quotes"> |
|
28 |
+ |
* <complexType> |
|
29 |
+ |
* <complexContent> |
|
30 |
+ |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|
31 |
+ |
* <sequence> |
|
32 |
+ |
* <element name="Quote" type="{}Quote" maxOccurs="unbounded"/> |
|
33 |
+ |
* </sequence> |
|
34 |
+ |
* </restriction> |
|
35 |
+ |
* </complexContent> |
|
36 |
+ |
* </complexType> |
|
37 |
+ |
* </element> |
|
38 |
+ |
* </sequence> |
|
39 |
+ |
* <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> |
|
40 |
+ |
* </restriction> |
|
41 |
+ |
* </complexContent> |
|
42 |
+ |
* </complexType> |
|
43 |
+ |
* </pre> |
|
44 |
+ |
* |
|
45 |
+ |
* |
|
46 |
+ |
*/ |
|
47 |
+ |
@XmlAccessorType(XmlAccessType.FIELD) |
|
48 |
+ |
@XmlType(name = "", propOrder = { |
|
49 |
+ |
"quotes" |
|
50 |
+ |
}) |
|
51 |
+ |
@XmlRootElement(name = "Result") |
|
52 |
+ |
public class Result |
|
53 |
+ |
extends JAXBgeneratedClassSuperClass |
|
54 |
+ |
implements Serializable |
|
55 |
+ |
{ |
|
56 |
+ |
|
|
57 |
+ |
@XmlElement(name = "Quotes", required = true) |
|
58 |
+ |
protected Result.Quotes quotes; |
|
59 |
+ |
@XmlAttribute(name = "version", required = true) |
|
60 |
+ |
protected String version; |
|
61 |
+ |
|
|
62 |
+ |
/** |
|
63 |
+ |
* Default no-arg constructor |
|
64 |
+ |
* |
|
65 |
+ |
*/ |
|
66 |
+ |
public Result() { |
|
67 |
+ |
super(); |
|
68 |
+ |
} |
|
69 |
+ |
|
|
70 |
+ |
/** |
|
71 |
+ |
* Fully-initialising value constructor |
|
72 |
+ |
* |
|
73 |
+ |
*/ |
|
74 |
+ |
public Result(final Result.Quotes quotes, final String version) { |
|
75 |
+ |
super(); |
|
76 |
+ |
this.quotes = quotes; |
|
77 |
+ |
this.version = version; |
|
78 |
+ |
} |
|
79 |
+ |
|
|
80 |
+ |
/** |
|
81 |
+ |
* Gets the value of the quotes property. |
|
82 |
+ |
* |
|
83 |
+ |
* @return |
|
84 |
+ |
* possible object is |
|
85 |
+ |
* {@link Result.Quotes } |
|
86 |
+ |
* |
|
87 |
+ |
*/ |
|
88 |
+ |
public Result.Quotes getQuotes() { |
|
89 |
+ |
return quotes; |
|
90 |
+ |
} |
|
91 |
+ |
|
|
92 |
+ |
/** |
|
93 |
+ |
* Sets the value of the quotes property. |
|
94 |
+ |
* |
|
95 |
+ |
* @param value |
|
96 |
+ |
* allowed object is |
|
97 |
+ |
* {@link Result.Quotes } |
|
98 |
+ |
* |
|
99 |
+ |
*/ |
|
100 |
+ |
public void setQuotes(Result.Quotes value) { |
|
101 |
+ |
this.quotes = value; |
|
102 |
+ |
} |
|
103 |
+ |
|
|
104 |
+ |
/** |
|
105 |
+ |
* Gets the value of the version property. |
|
106 |
+ |
* |
|
107 |
+ |
* @return |
|
108 |
+ |
* possible object is |
|
109 |
+ |
* {@link String } |
|
110 |
+ |
* |
|
111 |
+ |
*/ |
|
112 |
+ |
public String getVersion() { |
|
113 |
+ |
return version; |
|
114 |
+ |
} |
|
115 |
+ |
|
|
116 |
+ |
/** |
|
117 |
+ |
* Sets the value of the version property. |
|
118 |
+ |
* |
|
119 |
+ |
* @param value |
|
120 |
+ |
* allowed object is |
|
121 |
+ |
* {@link String } |
|
122 |
+ |
* |
|
123 |
+ |
*/ |
|
124 |
+ |
public void setVersion(String value) { |
|
125 |
+ |
this.version = value; |
|
126 |
+ |
} |
|
127 |
+ |
|
|
128 |
+ |
public Result.Quotes getQuotes_() { |
|
129 |
+ |
Quotes zCur = getQuotes(); |
|
130 |
+ |
if ( zCur == null ) setQuotes( zCur = new Quotes() ); |
|
131 |
+ |
return zCur; |
|
132 |
+ |
} |
|
133 |
+ |
|
|
134 |
+ |
public List<Quote> getQuotes_Quotes() { |
|
135 |
+ |
return getQuotes_().getQuotes(); |
|
136 |
+ |
} |
|
137 |
+ |
|
|
138 |
+ |
public void setQuotes_Quotes(List<Quote> values) { |
|
139 |
+ |
getQuotes_().setQuotes( values ); |
|
140 |
+ |
} |
|
141 |
+ |
|
|
142 |
+ |
public Result withQuotes(Result.Quotes value) { |
|
143 |
+ |
setQuotes(value); |
|
144 |
+ |
return this; |
|
145 |
+ |
} |
|
146 |
+ |
|
|
147 |
+ |
public Result withVersion(String value) { |
|
148 |
+ |
setVersion(value); |
|
149 |
+ |
return this; |
|
150 |
+ |
} |
|
151 |
+ |
|
|
152 |
+ |
public Result withQuotes_Quotes(Quote... values) { |
|
153 |
+ |
if (values!= null) { |
|
154 |
+ |
for (Quote value: values) { |
|
155 |
+ |
getQuotes_Quotes().add(value); |
|
156 |
+ |
} |
|
157 |
+ |
} |
|
158 |
+ |
return this; |
|
159 |
+ |
} |
|
160 |
+ |
|
|
161 |
+ |
public Result withQuotes_Quotes(Collection<Quote> values) { |
|
162 |
+ |
if (values!= null) { |
|
163 |
+ |
getQuotes_Quotes().addAll(values); |
|
164 |
+ |
} |
|
165 |
+ |
return this; |
|
166 |
+ |
} |
|
167 |
+ |
|
|
168 |
+ |
public Result withQuotes_Quotes(List<Quote> values) { |
|
169 |
+ |
setQuotes_Quotes(values); |
|
170 |
+ |
return this; |
|
171 |
+ |
} |
|
172 |
+ |
|
|
173 |
+ |
|
|
174 |
+ |
/** |
|
175 |
+ |
* <p>Java class for anonymous complex type. |
|
176 |
+ |
* |
|
177 |
+ |
* <p>The following schema fragment specifies the expected content contained within this class. |
|
178 |
+ |
* |
|
179 |
+ |
* <pre> |
|
180 |
+ |
* <complexType> |
|
181 |
+ |
* <complexContent> |
|
182 |
+ |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|
183 |
+ |
* <sequence> |
|
184 |
+ |
* <element name="Quote" type="{}Quote" maxOccurs="unbounded"/> |
|
185 |
+ |
* </sequence> |
|
186 |
+ |
* </restriction> |
|
187 |
+ |
* </complexContent> |
|
188 |
+ |
* </complexType> |
|
189 |
+ |
* </pre> |
|
190 |
+ |
* |
|
191 |
+ |
* |
|
192 |
+ |
*/ |
|
193 |
+ |
@XmlAccessorType(XmlAccessType.FIELD) |
|
194 |
+ |
@XmlType(name = "", propOrder = { |
|
195 |
+ |
"quotes" |
|
196 |
+ |
}) |
|
197 |
+ |
public static class Quotes |
|
198 |
+ |
extends JAXBgeneratedClassSuperClass |
|
199 |
+ |
implements Serializable |
|
200 |
+ |
{ |
|
201 |
+ |
|
|
202 |
+ |
@XmlElement(name = "Quote", required = true) |
|
203 |
+ |
protected List<Quote> quotes; |
|
204 |
+ |
|
|
205 |
+ |
/** |
|
206 |
+ |
* Default no-arg constructor |
|
207 |
+ |
* |
|
208 |
+ |
*/ |
|
209 |
+ |
public Quotes() { |
|
210 |
+ |
super(); |
|
211 |
+ |
} |
|
212 |
+ |
|
|
213 |
+ |
/** |
|
214 |
+ |
* Fully-initialising value constructor |
|
215 |
+ |
* |
|
216 |
+ |
*/ |
|
217 |
+ |
public Quotes(final List<Quote> quotes) { |
|
218 |
+ |
super(); |
|
219 |
+ |
this.quotes = quotes; |
|
220 |
+ |
} |
|
221 |
+ |
|
|
222 |
+ |
/** |
|
223 |
+ |
* Gets the value of the quotes property. |
|
224 |
+ |
* |
|
225 |
+ |
* <p> |
|
226 |
+ |
* This accessor method returns a reference to the live list, |
|
227 |
+ |
* not a snapshot. Therefore any modification you make to the |
|
228 |
+ |
* returned list will be present inside the JAXB object. |
|
229 |
+ |
* This is why there is not a <CODE>set</CODE> method for the quotes property. |
|
230 |
+ |
* |
|
231 |
+ |
* <p> |
|
232 |
+ |
* For example, to add a new item, do as follows: |
|
233 |
+ |
* <pre> |
|
234 |
+ |
* getQuotes().add(newItem); |
|
235 |
+ |
* </pre> |
|
236 |
+ |
* |
|
237 |
+ |
* |
|
238 |
+ |
* <p> |
|
239 |
+ |
* Objects of the following type(s) are allowed in the list |
|
240 |
+ |
* {@link Quote } |
|
241 |
+ |
* |
|
242 |
+ |
* |
|
243 |
+ |
*/ |
|
244 |
+ |
public List<Quote> getQuotes() { |
|
245 |
+ |
if (quotes == null) { |
|
246 |
+ |
quotes = new ArrayList<Quote>(); |
|
247 |
+ |
} |
|
248 |
+ |
return this.quotes; |
|
249 |
+ |
} |
|
250 |
+ |
|
|
251 |
+ |
public void setQuotes(List<Quote> values) { |
|
252 |
+ |
List<Quote> zCollectionl = this.getQuotes(); |
|
253 |
+ |
zCollectionl.addAll(values); |
|
254 |
+ |
} |
|
255 |
+ |
|
|
256 |
+ |
public Result.Quotes withQuotes(Quote... values) { |
|
257 |
+ |
if (values!= null) { |
|
258 |
+ |
for (Quote value: values) { |
|
259 |
+ |
getQuotes().add(value); |
|
260 |
+ |
} |
|
261 |
+ |
} |
|
262 |
+ |
return this; |
|
263 |
+ |
} |
|
264 |
+ |
|
|
265 |
+ |
public Result.Quotes withQuotes(Collection<Quote> values) { |
|
266 |
+ |
if (values!= null) { |
|
267 |
+ |
getQuotes().addAll(values); |
|
268 |
+ |
} |
|
269 |
+ |
return this; |
|
270 |
+ |
} |
|
271 |
+ |
|
|
272 |
+ |
public Result.Quotes withQuotes(List<Quote> values) { |
|
273 |
+ |
setQuotes(values); |
|
274 |
+ |
return this; |
|
275 |
+ |
} |
|
276 |
+ |
|
|
277 |
+ |
} |
|
278 |
+ |
|
|
279 |
+ |
} |