/*
* DrakkarKeel - An Enterprise Collaborative Search Platform
*
* The contents of this file are subject under the terms described in the
* DRAKKARKEEL_LICENSE file included in this distribution; you may not use this
* file except in compliance with the License.
*
* 2013-2014 DrakkarKeel Platform.
*/
package drakkar.stern.tracker.persistent.objects;
/**
* Esta clase contiene los datos un usuario
*/
public class SeekerData {
private String user;
private String name;
private String password;
private String description;
private String email;
private int rol;
private int state;
private byte[] avatar;
/**
*
* @param user
* @param name
* @param password
* @param description
* @param email
* @param state
* @param rol
* @param image
*/
public SeekerData(String user,String name,String password, String description,String email, int state,int rol, byte [] image){
this.user= user;
this.name = name;
this.password = password;
this.description = description;
this.email = email;
this.rol = rol;
this.state = state;
this.avatar = image;
}
/**
* @return the user
*/
public String getUser() {
return user;
}
/**
* @param user the user to set
*/
public void setUser(String user) {
this.user = user;
}
/**
* @return the name
*/
public String getName() {
return name;
}
/**
* @param name the name to set
*/
public void setName(String name) {
this.name = name;
}
/**
* @return the password
*/
public String getPassword() {
return password;
}
/**
* @param password the password to set
*/
public void setPassword(String password) {
this.password = password;
}
/**
* @return the description
*/
public String getDescription() {
return description;
}
/**
* @param description the description to set
*/
public void setDescription(String description) {
this.description = description;
}
/**
* @return the email
*/
public String getEmail() {
return email;
}
/**
* @param email the email to set
*/
public void setEmail(String email) {
this.email = email;
}
/**
* @return the rol
*/
public int getRol() {
return rol;
}
/**
* @param rol the rol to set
*/
public void setRol(int rol) {
this.rol = rol;
}
/**
* @return the state
*/
public int getState() {
return state;
}
/**
* @param state the state to set
*/
public void setState(int state) {
this.state = state;
}
/**
* @return the avatar
*/
public byte[] getAvatar() {
return avatar;
}
/**
* @param avatar the avatar to set
*/
public void setAvatar(byte[] avatar) {
this.avatar = avatar;
}
}