/**
* Copyright (C) 2013 - 2014 Envidatec GmbH <info@envidatec.com>
*
* This file is part of JEWebService.
*
* JEWebService is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation in version 3.
*
* JEWebService is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* JEWebService. If not, see <http://www.gnu.org/licenses/>.
*
* JEWebService is part of the OpenJEVis project, further project information
* are published at <http://www.OpenJEVis.org/>.
*/
package org.jevis.commons.ws.json;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
/**
* This Class is used to represents an JEVisObject in JSON by the WebService
*
* @author Florian Simon<florian.simon@openjevis.org>
*/
@XmlRootElement(name = "User")
public class JsonUser {
private String login;
private String password;
private String email;
private String firstname;
private String lastname;
private String organisation;
public JsonUser() {
}
@XmlElement(name = "login")
public String getLogin() {
return login;
}
public void setLogin(String login) {
this.login = login;
}
@XmlElement(name = "password")
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
@XmlElement(name = "email")
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
@XmlElement(name = "firstname")
public String getFirstname() {
return firstname;
}
public void setFirstname(String firstname) {
this.firstname = firstname;
}
@XmlElement(name = "lastname")
public String getLastname() {
return lastname;
}
public void setLastname(String lastname) {
this.lastname = lastname;
}
@XmlElement(name = "organisation")
public String getOrganisation() {
return organisation;
}
public void setOrganisation(String organisation) {
this.organisation = organisation;
}
}