1 //
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
3 // See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2019.08.22 at 12:17:55 PM UTC
6 //
7
8
9 package ejava.projects.esales.dto;
10
11 import java.util.ArrayList;
12 import java.util.Date;
13 import java.util.List;
14 import javax.xml.bind.annotation.XmlAccessType;
15 import javax.xml.bind.annotation.XmlAccessorType;
16 import javax.xml.bind.annotation.XmlElement;
17 import javax.xml.bind.annotation.XmlIDREF;
18 import javax.xml.bind.annotation.XmlList;
19 import javax.xml.bind.annotation.XmlRootElement;
20 import javax.xml.bind.annotation.XmlSchemaType;
21 import javax.xml.bind.annotation.XmlType;
22 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
23
24
25 /**
26 * <p>Java class for anonymous complex type.
27 *
28 * <p>The following schema fragment specifies the expected content contained within this class.
29 *
30 * <pre>
31 * <complexType>
32 * <complexContent>
33 * <extension base="{http://ejava.info/eSales/1.0.2007.2}ReferencedType">
34 * <sequence>
35 * <element name="login" type="{http://www.w3.org/2001/XMLSchema}string"/>
36 * <element name="firstName" type="{http://www.w3.org/2001/XMLSchema}string"/>
37 * <element name="middleName" type="{http://www.w3.org/2001/XMLSchema}string"/>
38 * <element name="lastName" type="{http://www.w3.org/2001/XMLSchema}string"/>
39 * <element name="email" type="{http://www.w3.org/2001/XMLSchema}string"/>
40 * <element name="startDate" type="{http://www.w3.org/2001/XMLSchema}date"/>
41 * <element name="endDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
42 * <element name="address" type="{http://www.w3.org/2001/XMLSchema}IDREFS" minOccurs="0"/>
43 * </sequence>
44 * </extension>
45 * </complexContent>
46 * </complexType>
47 * </pre>
48 *
49 *
50 */
51 @XmlAccessorType(XmlAccessType.FIELD)
52 @XmlType(name = "", propOrder = {
53 "login",
54 "firstName",
55 "middleName",
56 "lastName",
57 "email",
58 "startDate",
59 "endDate",
60 "address"
61 })
62 @XmlRootElement(name = "account")
63 public class Account
64 extends ReferencedType
65 {
66
67 @XmlElement(required = true)
68 protected String login;
69 @XmlElement(required = true)
70 protected String firstName;
71 @XmlElement(required = true)
72 protected String middleName;
73 @XmlElement(required = true)
74 protected String lastName;
75 @XmlElement(required = true)
76 protected String email;
77 @XmlElement(required = true, type = String.class)
78 @XmlJavaTypeAdapter(Adapter3 .class)
79 @XmlSchemaType(name = "date")
80 protected Date startDate;
81 @XmlElement(type = String.class)
82 @XmlJavaTypeAdapter(Adapter3 .class)
83 @XmlSchemaType(name = "date")
84 protected Date endDate;
85 @XmlList
86 @XmlIDREF
87 @XmlSchemaType(name = "IDREFS")
88 protected List<Object> address;
89
90 /**
91 * Default no-arg constructor
92 *
93 */
94 public Account() {
95 super();
96 }
97
98 /**
99 * Fully-initialising value constructor
100 *
101 */
102 public Account(final String refid, final String login, final String firstName, final String middleName, final String lastName, final String email, final Date startDate, final Date endDate, final List<Object> address) {
103 super(refid);
104 this.login = login;
105 this.firstName = firstName;
106 this.middleName = middleName;
107 this.lastName = lastName;
108 this.email = email;
109 this.startDate = startDate;
110 this.endDate = endDate;
111 this.address = address;
112 }
113
114 /**
115 * Gets the value of the login property.
116 *
117 * @return
118 * possible object is
119 * {@link String }
120 *
121 */
122 public String getLogin() {
123 return login;
124 }
125
126 /**
127 * Sets the value of the login property.
128 *
129 * @param value
130 * allowed object is
131 * {@link String }
132 *
133 */
134 public void setLogin(String value) {
135 this.login = value;
136 }
137
138 /**
139 * Gets the value of the firstName property.
140 *
141 * @return
142 * possible object is
143 * {@link String }
144 *
145 */
146 public String getFirstName() {
147 return firstName;
148 }
149
150 /**
151 * Sets the value of the firstName property.
152 *
153 * @param value
154 * allowed object is
155 * {@link String }
156 *
157 */
158 public void setFirstName(String value) {
159 this.firstName = value;
160 }
161
162 /**
163 * Gets the value of the middleName property.
164 *
165 * @return
166 * possible object is
167 * {@link String }
168 *
169 */
170 public String getMiddleName() {
171 return middleName;
172 }
173
174 /**
175 * Sets the value of the middleName property.
176 *
177 * @param value
178 * allowed object is
179 * {@link String }
180 *
181 */
182 public void setMiddleName(String value) {
183 this.middleName = value;
184 }
185
186 /**
187 * Gets the value of the lastName property.
188 *
189 * @return
190 * possible object is
191 * {@link String }
192 *
193 */
194 public String getLastName() {
195 return lastName;
196 }
197
198 /**
199 * Sets the value of the lastName property.
200 *
201 * @param value
202 * allowed object is
203 * {@link String }
204 *
205 */
206 public void setLastName(String value) {
207 this.lastName = value;
208 }
209
210 /**
211 * Gets the value of the email property.
212 *
213 * @return
214 * possible object is
215 * {@link String }
216 *
217 */
218 public String getEmail() {
219 return email;
220 }
221
222 /**
223 * Sets the value of the email property.
224 *
225 * @param value
226 * allowed object is
227 * {@link String }
228 *
229 */
230 public void setEmail(String value) {
231 this.email = value;
232 }
233
234 /**
235 * Gets the value of the startDate property.
236 *
237 * @return
238 * possible object is
239 * {@link String }
240 *
241 */
242 public Date getStartDate() {
243 return startDate;
244 }
245
246 /**
247 * Sets the value of the startDate property.
248 *
249 * @param value
250 * allowed object is
251 * {@link String }
252 *
253 */
254 public void setStartDate(Date value) {
255 this.startDate = value;
256 }
257
258 /**
259 * Gets the value of the endDate property.
260 *
261 * @return
262 * possible object is
263 * {@link String }
264 *
265 */
266 public Date getEndDate() {
267 return endDate;
268 }
269
270 /**
271 * Sets the value of the endDate property.
272 *
273 * @param value
274 * allowed object is
275 * {@link String }
276 *
277 */
278 public void setEndDate(Date value) {
279 this.endDate = value;
280 }
281
282 /**
283 * Gets the value of the address property.
284 *
285 * <p>
286 * This accessor method returns a reference to the live list,
287 * not a snapshot. Therefore any modification you make to the
288 * returned list will be present inside the JAXB object.
289 * This is why there is not a <CODE>set</CODE> method for the address property.
290 *
291 * <p>
292 * For example, to add a new item, do as follows:
293 * <pre>
294 * getAddress().add(newItem);
295 * </pre>
296 *
297 *
298 * <p>
299 * Objects of the following type(s) are allowed in the list
300 * {@link Object }
301 *
302 *
303 */
304 public List<Object> getAddress() {
305 if (address == null) {
306 address = new ArrayList<Object>();
307 }
308 return this.address;
309 }
310
311 }