/modules/org.restlet.test/src/main/java/org/restlet/test/ext/odata/deepexpand/model/Student.java

http://github.com/restlet/restlet-framework-java · Java · 932 lines · 309 code · 130 blank · 493 comment · 0 complexity · fc6b670940c59c1d2657005cc3ac57ac MD5 · raw file

  1. /**
  2. * Copyright 2005-2020 Talend
  3. *
  4. * The contents of this file are subject to the terms of one of the following
  5. * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
  6. * select the license that you prefer but you may not use this file except in
  7. * compliance with one of these Licenses.
  8. *
  9. * You can obtain a copy of the Apache 2.0 license at
  10. * http://www.opensource.org/licenses/apache-2.0
  11. *
  12. * You can obtain a copy of the EPL 1.0 license at
  13. * http://www.opensource.org/licenses/eclipse-1.0
  14. *
  15. * See the Licenses for the specific language governing permissions and
  16. * limitations under the Licenses.
  17. *
  18. * Alternatively, you can obtain a royalty free commercial license with less
  19. * limitations, transferable or non-transferable, directly at
  20. * https://restlet.talend.com/
  21. *
  22. * Restlet is a registered trademark of Talend S.A.
  23. */
  24. package org.restlet.test.ext.odata.deepexpand.model;
  25. import java.util.Date;
  26. import java.util.List;
  27. import org.restlet.test.ext.odata.deepexpand.model.Address;
  28. import org.restlet.test.ext.odata.deepexpand.model.CoOp;
  29. import org.restlet.test.ext.odata.deepexpand.model.Department;
  30. import org.restlet.test.ext.odata.deepexpand.model.Language;
  31. import org.restlet.test.ext.odata.deepexpand.model.Location;
  32. import org.restlet.test.ext.odata.deepexpand.model.Nationality;
  33. import org.restlet.test.ext.odata.deepexpand.model.Registration;
  34. import org.restlet.test.ext.odata.deepexpand.model.Report;
  35. import org.restlet.test.ext.odata.deepexpand.model.Role;
  36. import org.restlet.test.ext.odata.deepexpand.model.Telephone;
  37. /**
  38. * Generated by the generator tool for the OData extension for the Restlet
  39. * framework.<br>
  40. *
  41. * @see <a
  42. * href="http://praktiki.metal.ntua.gr/CoopOData/CoopOData.svc/$metadata">Metadata
  43. * of the target OData service</a>
  44. *
  45. */
  46. public class Student {
  47. private Date admissionDate;
  48. private String ama;
  49. private Date dateOfBirth;
  50. private String email;
  51. private boolean ethnicMinority;
  52. private String fatherName;
  53. private String gender;
  54. private boolean hasOtherDegree;
  55. private boolean hasSpecialNeeds;
  56. private String iban;
  57. private int id;
  58. private Date idIssueDate;
  59. private String idIssuer;
  60. private String idNumber;
  61. private String idType;
  62. private boolean immigrant;
  63. private String motherName;
  64. private String name;
  65. private String notes;
  66. private boolean publicClerk;
  67. private boolean religiousMinority;
  68. private String serialNumber;
  69. private String socialSecurityId;
  70. private String surname;
  71. private String taxDepartment;
  72. private String taxDivision;
  73. private String taxId;
  74. private String userName;
  75. private String workExperience;
  76. private Tracking tracking;
  77. private Registration activeRegistration;
  78. private List<Address> addresses;
  79. private CoOp defaultCoOp;
  80. private Department department;
  81. private Location issuerLocation;
  82. private Nationality nationality;
  83. private Language preferredLanguage;
  84. private List<Registration> registrations;
  85. private List<Report> reports;
  86. private List<Role> roles;
  87. private List<Telephone> telephones;
  88. /**
  89. * Constructor without parameter.
  90. *
  91. */
  92. public Student() {
  93. super();
  94. }
  95. /**
  96. * Constructor.
  97. *
  98. * @param id
  99. * The identifiant value of the entity.
  100. */
  101. public Student(int id) {
  102. this();
  103. this.id = id;
  104. }
  105. /**
  106. * Returns the value of the "admissionDate" attribute.
  107. *
  108. * @return The value of the "admissionDate" attribute.
  109. */
  110. public Date getAdmissionDate() {
  111. return admissionDate;
  112. }
  113. /**
  114. * Returns the value of the "ama" attribute.
  115. *
  116. * @return The value of the "ama" attribute.
  117. */
  118. public String getAma() {
  119. return ama;
  120. }
  121. /**
  122. * Returns the value of the "dateOfBirth" attribute.
  123. *
  124. * @return The value of the "dateOfBirth" attribute.
  125. */
  126. public Date getDateOfBirth() {
  127. return dateOfBirth;
  128. }
  129. /**
  130. * Returns the value of the "email" attribute.
  131. *
  132. * @return The value of the "email" attribute.
  133. */
  134. public String getEmail() {
  135. return email;
  136. }
  137. /**
  138. * Returns the value of the "ethnicMinority" attribute.
  139. *
  140. * @return The value of the "ethnicMinority" attribute.
  141. */
  142. public boolean getEthnicMinority() {
  143. return ethnicMinority;
  144. }
  145. /**
  146. * Returns the value of the "fatherName" attribute.
  147. *
  148. * @return The value of the "fatherName" attribute.
  149. */
  150. public String getFatherName() {
  151. return fatherName;
  152. }
  153. /**
  154. * Returns the value of the "gender" attribute.
  155. *
  156. * @return The value of the "gender" attribute.
  157. */
  158. public String getGender() {
  159. return gender;
  160. }
  161. /**
  162. * Returns the value of the "hasOtherDegree" attribute.
  163. *
  164. * @return The value of the "hasOtherDegree" attribute.
  165. */
  166. public boolean getHasOtherDegree() {
  167. return hasOtherDegree;
  168. }
  169. /**
  170. * Returns the value of the "hasSpecialNeeds" attribute.
  171. *
  172. * @return The value of the "hasSpecialNeeds" attribute.
  173. */
  174. public boolean getHasSpecialNeeds() {
  175. return hasSpecialNeeds;
  176. }
  177. /**
  178. * Returns the value of the "iban" attribute.
  179. *
  180. * @return The value of the "iban" attribute.
  181. */
  182. public String getIban() {
  183. return iban;
  184. }
  185. /**
  186. * Returns the value of the "id" attribute.
  187. *
  188. * @return The value of the "id" attribute.
  189. */
  190. public int getId() {
  191. return id;
  192. }
  193. /**
  194. * Returns the value of the "idIssueDate" attribute.
  195. *
  196. * @return The value of the "idIssueDate" attribute.
  197. */
  198. public Date getIdIssueDate() {
  199. return idIssueDate;
  200. }
  201. /**
  202. * Returns the value of the "idIssuer" attribute.
  203. *
  204. * @return The value of the "idIssuer" attribute.
  205. */
  206. public String getIdIssuer() {
  207. return idIssuer;
  208. }
  209. /**
  210. * Returns the value of the "idNumber" attribute.
  211. *
  212. * @return The value of the "idNumber" attribute.
  213. */
  214. public String getIdNumber() {
  215. return idNumber;
  216. }
  217. /**
  218. * Returns the value of the "idType" attribute.
  219. *
  220. * @return The value of the "idType" attribute.
  221. */
  222. public String getIdType() {
  223. return idType;
  224. }
  225. /**
  226. * Returns the value of the "immigrant" attribute.
  227. *
  228. * @return The value of the "immigrant" attribute.
  229. */
  230. public boolean getImmigrant() {
  231. return immigrant;
  232. }
  233. /**
  234. * Returns the value of the "motherName" attribute.
  235. *
  236. * @return The value of the "motherName" attribute.
  237. */
  238. public String getMotherName() {
  239. return motherName;
  240. }
  241. /**
  242. * Returns the value of the "name" attribute.
  243. *
  244. * @return The value of the "name" attribute.
  245. */
  246. public String getName() {
  247. return name;
  248. }
  249. /**
  250. * Returns the value of the "notes" attribute.
  251. *
  252. * @return The value of the "notes" attribute.
  253. */
  254. public String getNotes() {
  255. return notes;
  256. }
  257. /**
  258. * Returns the value of the "publicClerk" attribute.
  259. *
  260. * @return The value of the "publicClerk" attribute.
  261. */
  262. public boolean getPublicClerk() {
  263. return publicClerk;
  264. }
  265. /**
  266. * Returns the value of the "religiousMinority" attribute.
  267. *
  268. * @return The value of the "religiousMinority" attribute.
  269. */
  270. public boolean getReligiousMinority() {
  271. return religiousMinority;
  272. }
  273. /**
  274. * Returns the value of the "serialNumber" attribute.
  275. *
  276. * @return The value of the "serialNumber" attribute.
  277. */
  278. public String getSerialNumber() {
  279. return serialNumber;
  280. }
  281. /**
  282. * Returns the value of the "socialSecurityId" attribute.
  283. *
  284. * @return The value of the "socialSecurityId" attribute.
  285. */
  286. public String getSocialSecurityId() {
  287. return socialSecurityId;
  288. }
  289. /**
  290. * Returns the value of the "surname" attribute.
  291. *
  292. * @return The value of the "surname" attribute.
  293. */
  294. public String getSurname() {
  295. return surname;
  296. }
  297. /**
  298. * Returns the value of the "taxDepartment" attribute.
  299. *
  300. * @return The value of the "taxDepartment" attribute.
  301. */
  302. public String getTaxDepartment() {
  303. return taxDepartment;
  304. }
  305. /**
  306. * Returns the value of the "taxDivision" attribute.
  307. *
  308. * @return The value of the "taxDivision" attribute.
  309. */
  310. public String getTaxDivision() {
  311. return taxDivision;
  312. }
  313. /**
  314. * Returns the value of the "taxId" attribute.
  315. *
  316. * @return The value of the "taxId" attribute.
  317. */
  318. public String getTaxId() {
  319. return taxId;
  320. }
  321. /**
  322. * Returns the value of the "userName" attribute.
  323. *
  324. * @return The value of the "userName" attribute.
  325. */
  326. public String getUserName() {
  327. return userName;
  328. }
  329. /**
  330. * Returns the value of the "workExperience" attribute.
  331. *
  332. * @return The value of the "workExperience" attribute.
  333. */
  334. public String getWorkExperience() {
  335. return workExperience;
  336. }
  337. /**
  338. * Returns the value of the "tracking" attribute.
  339. *
  340. * @return The value of the "tracking" attribute.
  341. */
  342. public Tracking getTracking() {
  343. return tracking;
  344. }
  345. /**
  346. * Returns the value of the "activeRegistration" attribute.
  347. *
  348. * @return The value of the "activeRegistration" attribute.
  349. */
  350. public Registration getActiveRegistration() {
  351. return activeRegistration;
  352. }
  353. /**
  354. * Returns the value of the "addresses" attribute.
  355. *
  356. * @return The value of the "addresses" attribute.
  357. */
  358. public List<Address> getAddresses() {
  359. return addresses;
  360. }
  361. /**
  362. * Returns the value of the "defaultCoOp" attribute.
  363. *
  364. * @return The value of the "defaultCoOp" attribute.
  365. */
  366. public CoOp getDefaultCoOp() {
  367. return defaultCoOp;
  368. }
  369. /**
  370. * Returns the value of the "department" attribute.
  371. *
  372. * @return The value of the "department" attribute.
  373. */
  374. public Department getDepartment() {
  375. return department;
  376. }
  377. /**
  378. * Returns the value of the "issuerLocation" attribute.
  379. *
  380. * @return The value of the "issuerLocation" attribute.
  381. */
  382. public Location getIssuerLocation() {
  383. return issuerLocation;
  384. }
  385. /**
  386. * Returns the value of the "nationality" attribute.
  387. *
  388. * @return The value of the "nationality" attribute.
  389. */
  390. public Nationality getNationality() {
  391. return nationality;
  392. }
  393. /**
  394. * Returns the value of the "preferredLanguage" attribute.
  395. *
  396. * @return The value of the "preferredLanguage" attribute.
  397. */
  398. public Language getPreferredLanguage() {
  399. return preferredLanguage;
  400. }
  401. /**
  402. * Returns the value of the "registrations" attribute.
  403. *
  404. * @return The value of the "registrations" attribute.
  405. */
  406. public List<Registration> getRegistrations() {
  407. return registrations;
  408. }
  409. /**
  410. * Returns the value of the "reports" attribute.
  411. *
  412. * @return The value of the "reports" attribute.
  413. */
  414. public List<Report> getReports() {
  415. return reports;
  416. }
  417. /**
  418. * Returns the value of the "roles" attribute.
  419. *
  420. * @return The value of the "roles" attribute.
  421. */
  422. public List<Role> getRoles() {
  423. return roles;
  424. }
  425. /**
  426. * Returns the value of the "telephones" attribute.
  427. *
  428. * @return The value of the "telephones" attribute.
  429. */
  430. public List<Telephone> getTelephones() {
  431. return telephones;
  432. }
  433. /**
  434. * Sets the value of the "admissionDate" attribute.
  435. *
  436. * @param admissionDate
  437. * The value of the "admissionDate" attribute.
  438. */
  439. public void setAdmissionDate(Date admissionDate) {
  440. this.admissionDate = admissionDate;
  441. }
  442. /**
  443. * Sets the value of the "ama" attribute.
  444. *
  445. * @param ama
  446. * The value of the "ama" attribute.
  447. */
  448. public void setAma(String ama) {
  449. this.ama = ama;
  450. }
  451. /**
  452. * Sets the value of the "dateOfBirth" attribute.
  453. *
  454. * @param dateOfBirth
  455. * The value of the "dateOfBirth" attribute.
  456. */
  457. public void setDateOfBirth(Date dateOfBirth) {
  458. this.dateOfBirth = dateOfBirth;
  459. }
  460. /**
  461. * Sets the value of the "email" attribute.
  462. *
  463. * @param email
  464. * The value of the "email" attribute.
  465. */
  466. public void setEmail(String email) {
  467. this.email = email;
  468. }
  469. /**
  470. * Sets the value of the "ethnicMinority" attribute.
  471. *
  472. * @param ethnicMinority
  473. * The value of the "ethnicMinority" attribute.
  474. */
  475. public void setEthnicMinority(boolean ethnicMinority) {
  476. this.ethnicMinority = ethnicMinority;
  477. }
  478. /**
  479. * Sets the value of the "fatherName" attribute.
  480. *
  481. * @param fatherName
  482. * The value of the "fatherName" attribute.
  483. */
  484. public void setFatherName(String fatherName) {
  485. this.fatherName = fatherName;
  486. }
  487. /**
  488. * Sets the value of the "gender" attribute.
  489. *
  490. * @param gender
  491. * The value of the "gender" attribute.
  492. */
  493. public void setGender(String gender) {
  494. this.gender = gender;
  495. }
  496. /**
  497. * Sets the value of the "hasOtherDegree" attribute.
  498. *
  499. * @param hasOtherDegree
  500. * The value of the "hasOtherDegree" attribute.
  501. */
  502. public void setHasOtherDegree(boolean hasOtherDegree) {
  503. this.hasOtherDegree = hasOtherDegree;
  504. }
  505. /**
  506. * Sets the value of the "hasSpecialNeeds" attribute.
  507. *
  508. * @param hasSpecialNeeds
  509. * The value of the "hasSpecialNeeds" attribute.
  510. */
  511. public void setHasSpecialNeeds(boolean hasSpecialNeeds) {
  512. this.hasSpecialNeeds = hasSpecialNeeds;
  513. }
  514. /**
  515. * Sets the value of the "iban" attribute.
  516. *
  517. * @param iban
  518. * The value of the "iban" attribute.
  519. */
  520. public void setIban(String iban) {
  521. this.iban = iban;
  522. }
  523. /**
  524. * Sets the value of the "id" attribute.
  525. *
  526. * @param id
  527. * The value of the "id" attribute.
  528. */
  529. public void setId(int id) {
  530. this.id = id;
  531. }
  532. /**
  533. * Sets the value of the "idIssueDate" attribute.
  534. *
  535. * @param idIssueDate
  536. * The value of the "idIssueDate" attribute.
  537. */
  538. public void setIdIssueDate(Date idIssueDate) {
  539. this.idIssueDate = idIssueDate;
  540. }
  541. /**
  542. * Sets the value of the "idIssuer" attribute.
  543. *
  544. * @param idIssuer
  545. * The value of the "idIssuer" attribute.
  546. */
  547. public void setIdIssuer(String idIssuer) {
  548. this.idIssuer = idIssuer;
  549. }
  550. /**
  551. * Sets the value of the "idNumber" attribute.
  552. *
  553. * @param idNumber
  554. * The value of the "idNumber" attribute.
  555. */
  556. public void setIdNumber(String idNumber) {
  557. this.idNumber = idNumber;
  558. }
  559. /**
  560. * Sets the value of the "idType" attribute.
  561. *
  562. * @param idType
  563. * The value of the "idType" attribute.
  564. */
  565. public void setIdType(String idType) {
  566. this.idType = idType;
  567. }
  568. /**
  569. * Sets the value of the "immigrant" attribute.
  570. *
  571. * @param immigrant
  572. * The value of the "immigrant" attribute.
  573. */
  574. public void setImmigrant(boolean immigrant) {
  575. this.immigrant = immigrant;
  576. }
  577. /**
  578. * Sets the value of the "motherName" attribute.
  579. *
  580. * @param motherName
  581. * The value of the "motherName" attribute.
  582. */
  583. public void setMotherName(String motherName) {
  584. this.motherName = motherName;
  585. }
  586. /**
  587. * Sets the value of the "name" attribute.
  588. *
  589. * @param name
  590. * The value of the "name" attribute.
  591. */
  592. public void setName(String name) {
  593. this.name = name;
  594. }
  595. /**
  596. * Sets the value of the "notes" attribute.
  597. *
  598. * @param notes
  599. * The value of the "notes" attribute.
  600. */
  601. public void setNotes(String notes) {
  602. this.notes = notes;
  603. }
  604. /**
  605. * Sets the value of the "publicClerk" attribute.
  606. *
  607. * @param publicClerk
  608. * The value of the "publicClerk" attribute.
  609. */
  610. public void setPublicClerk(boolean publicClerk) {
  611. this.publicClerk = publicClerk;
  612. }
  613. /**
  614. * Sets the value of the "religiousMinority" attribute.
  615. *
  616. * @param religiousMinority
  617. * The value of the "religiousMinority" attribute.
  618. */
  619. public void setReligiousMinority(boolean religiousMinority) {
  620. this.religiousMinority = religiousMinority;
  621. }
  622. /**
  623. * Sets the value of the "serialNumber" attribute.
  624. *
  625. * @param serialNumber
  626. * The value of the "serialNumber" attribute.
  627. */
  628. public void setSerialNumber(String serialNumber) {
  629. this.serialNumber = serialNumber;
  630. }
  631. /**
  632. * Sets the value of the "socialSecurityId" attribute.
  633. *
  634. * @param socialSecurityId
  635. * The value of the "socialSecurityId" attribute.
  636. */
  637. public void setSocialSecurityId(String socialSecurityId) {
  638. this.socialSecurityId = socialSecurityId;
  639. }
  640. /**
  641. * Sets the value of the "surname" attribute.
  642. *
  643. * @param surname
  644. * The value of the "surname" attribute.
  645. */
  646. public void setSurname(String surname) {
  647. this.surname = surname;
  648. }
  649. /**
  650. * Sets the value of the "taxDepartment" attribute.
  651. *
  652. * @param taxDepartment
  653. * The value of the "taxDepartment" attribute.
  654. */
  655. public void setTaxDepartment(String taxDepartment) {
  656. this.taxDepartment = taxDepartment;
  657. }
  658. /**
  659. * Sets the value of the "taxDivision" attribute.
  660. *
  661. * @param taxDivision
  662. * The value of the "taxDivision" attribute.
  663. */
  664. public void setTaxDivision(String taxDivision) {
  665. this.taxDivision = taxDivision;
  666. }
  667. /**
  668. * Sets the value of the "taxId" attribute.
  669. *
  670. * @param taxId
  671. * The value of the "taxId" attribute.
  672. */
  673. public void setTaxId(String taxId) {
  674. this.taxId = taxId;
  675. }
  676. /**
  677. * Sets the value of the "userName" attribute.
  678. *
  679. * @param userName
  680. * The value of the "userName" attribute.
  681. */
  682. public void setUserName(String userName) {
  683. this.userName = userName;
  684. }
  685. /**
  686. * Sets the value of the "workExperience" attribute.
  687. *
  688. * @param workExperience
  689. * The value of the "workExperience" attribute.
  690. */
  691. public void setWorkExperience(String workExperience) {
  692. this.workExperience = workExperience;
  693. }
  694. /**
  695. * Sets the value of the "tracking" attribute.
  696. *
  697. * @param tracking
  698. * The value of the "tracking" attribute.
  699. */
  700. public void setTracking(Tracking tracking) {
  701. this.tracking = tracking;
  702. }
  703. /**
  704. * Sets the value of the "activeRegistration" attribute.
  705. *
  706. * @param activeRegistration
  707. * " The value of the "activeRegistration" attribute.
  708. */
  709. public void setActiveRegistration(Registration activeRegistration) {
  710. this.activeRegistration = activeRegistration;
  711. }
  712. /**
  713. * Sets the value of the "addresses" attribute.
  714. *
  715. * @param addresses
  716. * " The value of the "addresses" attribute.
  717. */
  718. public void setAddresses(List<Address> addresses) {
  719. this.addresses = addresses;
  720. }
  721. /**
  722. * Sets the value of the "defaultCoOp" attribute.
  723. *
  724. * @param defaultCoOp
  725. * " The value of the "defaultCoOp" attribute.
  726. */
  727. public void setDefaultCoOp(CoOp defaultCoOp) {
  728. this.defaultCoOp = defaultCoOp;
  729. }
  730. /**
  731. * Sets the value of the "department" attribute.
  732. *
  733. * @param department
  734. * " The value of the "department" attribute.
  735. */
  736. public void setDepartment(Department department) {
  737. this.department = department;
  738. }
  739. /**
  740. * Sets the value of the "issuerLocation" attribute.
  741. *
  742. * @param issuerLocation
  743. * " The value of the "issuerLocation" attribute.
  744. */
  745. public void setIssuerLocation(Location issuerLocation) {
  746. this.issuerLocation = issuerLocation;
  747. }
  748. /**
  749. * Sets the value of the "nationality" attribute.
  750. *
  751. * @param nationality
  752. * " The value of the "nationality" attribute.
  753. */
  754. public void setNationality(Nationality nationality) {
  755. this.nationality = nationality;
  756. }
  757. /**
  758. * Sets the value of the "preferredLanguage" attribute.
  759. *
  760. * @param preferredLanguage
  761. * " The value of the "preferredLanguage" attribute.
  762. */
  763. public void setPreferredLanguage(Language preferredLanguage) {
  764. this.preferredLanguage = preferredLanguage;
  765. }
  766. /**
  767. * Sets the value of the "registrations" attribute.
  768. *
  769. * @param registrations
  770. * " The value of the "registrations" attribute.
  771. */
  772. public void setRegistrations(List<Registration> registrations) {
  773. this.registrations = registrations;
  774. }
  775. /**
  776. * Sets the value of the "reports" attribute.
  777. *
  778. * @param reports
  779. * " The value of the "reports" attribute.
  780. */
  781. public void setReports(List<Report> reports) {
  782. this.reports = reports;
  783. }
  784. /**
  785. * Sets the value of the "roles" attribute.
  786. *
  787. * @param roles
  788. * " The value of the "roles" attribute.
  789. */
  790. public void setRoles(List<Role> roles) {
  791. this.roles = roles;
  792. }
  793. /**
  794. * Sets the value of the "telephones" attribute.
  795. *
  796. * @param telephones
  797. * " The value of the "telephones" attribute.
  798. */
  799. public void setTelephones(List<Telephone> telephones) {
  800. this.telephones = telephones;
  801. }
  802. }