Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

User.java

00001 /*
00002  * OpenMobileIS - a free Java(TM) Framework for mobile applications Java(TM)
00003  * Copyright (C) 2004-2005 Philippe Delrieu
00004  * All rights reserved.
00005  * Contact: openmobileis@e-care.fr
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2.1 of the License, or any later version.
00011  *
00012  * This library is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with this library; if not, write to the Free Software
00019  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
00020  * USA
00021  *
00022  *  Author : Philippe Delrieu
00023  * 
00024  */
00025 package org.openmobileis.common.user;
00026 
00027 import org.openmobileis.common.util.OpenMISSerializable;
00028 
00036 public class User  implements OpenMISSerializable{
00037   static final long serialVersionUID = 5521257935120563452L;
00038 
00039   private String id;
00040   private String login;
00041   private String password;
00042   private String profil;
00043   private String group;
00047   public User() {
00048     super();
00049   }
00050 
00054   public User(String id, String login, String password) {
00055     super();
00056     this.id = id;
00057     this.login = login;
00058     this.password = password;
00059   }
00060   
00061   public String getGroup() {
00062     return group;
00063   }
00064   public void setGroup(String group) {
00065     this.group = group;
00066   }
00067   public String getId() {
00068     return id;
00069   }
00070   public void setId(String id) {
00071     this.id = id;
00072   }
00073   public String getLogin() {
00074     return login;
00075   }
00076   public void setLogin(String login) {
00077     this.login = login;
00078   }
00079   public String getPassword() {
00080     return password;
00081   }
00082   public void setPassword(String password) {
00083     this.password = password;
00084   }
00085   public String getProfil() {
00086     return profil;
00087   }
00088   public void setProfil(String profil) {
00089     this.profil = profil;
00090   }
00091 
00092 }

Generated on Wed Dec 14 21:05:35 2005 for OpenMobileIS by  doxygen 1.4.4