/** * Copyright 2005-2014 Restlet * * The contents of this file are subject to the terms of one of the following * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can * select the license that you prefer but you may not use this file except in * compliance with one of these Licenses. * * You can obtain a copy of the Apache 2.0 license at * http://www.opensource.org/licenses/apache-2.0 * * You can obtain a copy of the EPL 1.0 license at * http://www.opensource.org/licenses/eclipse-1.0 * * See the Licenses for the specific language governing permissions and * limitations under the Licenses. * * Alternatively, you can obtain a royalty free commercial license with less * limitations, transferable or non-transferable, directly at * http://restlet.com/products/restlet-framework * * Restlet is a registered trademark of Restlet S.A.S. */ package org.restlet.test.ext.odata.deepexpand.model; import java.util.Date; import java.util.List; import org.restlet.test.ext.odata.deepexpand.model.Address; import org.restlet.test.ext.odata.deepexpand.model.CoOp; import org.restlet.test.ext.odata.deepexpand.model.Department; import org.restlet.test.ext.odata.deepexpand.model.Language; import org.restlet.test.ext.odata.deepexpand.model.Report; import org.restlet.test.ext.odata.deepexpand.model.Role; import org.restlet.test.ext.odata.deepexpand.model.Telephone; /** * Generated by the generator tool for the OData extension for the Restlet * framework.<br> * * @see <a * href="http://praktiki.metal.ntua.gr/CoopOData/CoopOData.svc/$metadata">Metadata * of the target OData service</a> * */ public class AuthenticatedUser { private Date dateOfBirth; private String email; private String fatherName; private String gender; private int id; private String motherName; private String name; private String notes; private String surname; private String userName; private Tracking tracking; private List<Address> addresses; private CoOp defaultCoOp; private Department department; private Language preferredLanguage; private List<Report> reports; private List<Role> roles; private List<Telephone> telephones; /** * Constructor without parameter. * */ public AuthenticatedUser() { super(); } /** * Constructor. * * @param id * The identifiant value of the entity. */ public AuthenticatedUser(int id) { this(); this.id = id; } /** * Returns the value of the "dateOfBirth" attribute. * * @return The value of the "dateOfBirth" attribute. */ public Date getDateOfBirth() { return dateOfBirth; } /** * Returns the value of the "email" attribute. * * @return The value of the "email" attribute. */ public String getEmail() { return email; } /** * Returns the value of the "fatherName" attribute. * * @return The value of the "fatherName" attribute. */ public String getFatherName() { return fatherName; } /** * Returns the value of the "gender" attribute. * * @return The value of the "gender" attribute. */ public String getGender() { return gender; } /** * Returns the value of the "id" attribute. * * @return The value of the "id" attribute. */ public int getId() { return id; } /** * Returns the value of the "motherName" attribute. * * @return The value of the "motherName" attribute. */ public String getMotherName() { return motherName; } /** * Returns the value of the "name" attribute. * * @return The value of the "name" attribute. */ public String getName() { return name; } /** * Returns the value of the "notes" attribute. * * @return The value of the "notes" attribute. */ public String getNotes() { return notes; } /** * Returns the value of the "surname" attribute. * * @return The value of the "surname" attribute. */ public String getSurname() { return surname; } /** * Returns the value of the "userName" attribute. * * @return The value of the "userName" attribute. */ public String getUserName() { return userName; } /** * Returns the value of the "tracking" attribute. * * @return The value of the "tracking" attribute. */ public Tracking getTracking() { return tracking; } /** * Returns the value of the "addresses" attribute. * * @return The value of the "addresses" attribute. */ public List<Address> getAddresses() { return addresses; } /** * Returns the value of the "defaultCoOp" attribute. * * @return The value of the "defaultCoOp" attribute. */ public CoOp getDefaultCoOp() { return defaultCoOp; } /** * Returns the value of the "department" attribute. * * @return The value of the "department" attribute. */ public Department getDepartment() { return department; } /** * Returns the value of the "preferredLanguage" attribute. * * @return The value of the "preferredLanguage" attribute. */ public Language getPreferredLanguage() { return preferredLanguage; } /** * Returns the value of the "reports" attribute. * * @return The value of the "reports" attribute. */ public List<Report> getReports() { return reports; } /** * Returns the value of the "roles" attribute. * * @return The value of the "roles" attribute. */ public List<Role> getRoles() { return roles; } /** * Returns the value of the "telephones" attribute. * * @return The value of the "telephones" attribute. */ public List<Telephone> getTelephones() { return telephones; } /** * Sets the value of the "dateOfBirth" attribute. * * @param dateOfBirth * The value of the "dateOfBirth" attribute. */ public void setDateOfBirth(Date dateOfBirth) { this.dateOfBirth = dateOfBirth; } /** * Sets the value of the "email" attribute. * * @param email * The value of the "email" attribute. */ public void setEmail(String email) { this.email = email; } /** * Sets the value of the "fatherName" attribute. * * @param fatherName * The value of the "fatherName" attribute. */ public void setFatherName(String fatherName) { this.fatherName = fatherName; } /** * Sets the value of the "gender" attribute. * * @param gender * The value of the "gender" attribute. */ public void setGender(String gender) { this.gender = gender; } /** * Sets the value of the "id" attribute. * * @param id * The value of the "id" attribute. */ public void setId(int id) { this.id = id; } /** * Sets the value of the "motherName" attribute. * * @param motherName * The value of the "motherName" attribute. */ public void setMotherName(String motherName) { this.motherName = motherName; } /** * Sets the value of the "name" attribute. * * @param name * The value of the "name" attribute. */ public void setName(String name) { this.name = name; } /** * Sets the value of the "notes" attribute. * * @param notes * The value of the "notes" attribute. */ public void setNotes(String notes) { this.notes = notes; } /** * Sets the value of the "surname" attribute. * * @param surname * The value of the "surname" attribute. */ public void setSurname(String surname) { this.surname = surname; } /** * Sets the value of the "userName" attribute. * * @param userName * The value of the "userName" attribute. */ public void setUserName(String userName) { this.userName = userName; } /** * Sets the value of the "tracking" attribute. * * @param tracking * The value of the "tracking" attribute. */ public void setTracking(Tracking tracking) { this.tracking = tracking; } /** * Sets the value of the "addresses" attribute. * * @param addresses * " The value of the "addresses" attribute. */ public void setAddresses(List<Address> addresses) { this.addresses = addresses; } /** * Sets the value of the "defaultCoOp" attribute. * * @param defaultCoOp * " The value of the "defaultCoOp" attribute. */ public void setDefaultCoOp(CoOp defaultCoOp) { this.defaultCoOp = defaultCoOp; } /** * Sets the value of the "department" attribute. * * @param department * " The value of the "department" attribute. */ public void setDepartment(Department department) { this.department = department; } /** * Sets the value of the "preferredLanguage" attribute. * * @param preferredLanguage * " The value of the "preferredLanguage" attribute. */ public void setPreferredLanguage(Language preferredLanguage) { this.preferredLanguage = preferredLanguage; } /** * Sets the value of the "reports" attribute. * * @param reports * " The value of the "reports" attribute. */ public void setReports(List<Report> reports) { this.reports = reports; } /** * Sets the value of the "roles" attribute. * * @param roles * " The value of the "roles" attribute. */ public void setRoles(List<Role> roles) { this.roles = roles; } /** * Sets the value of the "telephones" attribute. * * @param telephones * " The value of the "telephones" attribute. */ public void setTelephones(List<Telephone> telephones) { this.telephones = telephones; } }