DefaultTerminalUser.java

00001 /*
00002  * OpenMobileIS - a free Java(TM) Framework for mobile applications Java(TM)
00003  * Copyright (C) 2004-2006 Philippe Delrieu
00004  * All rights reserved.
00005  * Contact: pdelrieu@openmobileis.org
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  *  Modifications :
00025  *  2005 Creation P.Delrieu
00026  * 
00027  */
00028 
00029 package org.openmobileis.modules.common.data;
00030 
00031 import java.io.Serializable;
00032 
00041 public class DefaultTerminalUser implements TerminalUser, Serializable {
00042   protected static final long serialVersionUID = 5521257935120563452L;
00043 
00044   private String langue = "fr";
00045 
00046   private String id;
00047 
00048   // private String[] secteurGeo;
00049   private boolean installRep;
00050 
00051   private String profil = "";
00052 
00053   private boolean actif;
00054 
00055   private String name;
00056 
00057   public boolean isActif() {
00058     return actif;
00059   }
00060 
00061   public void setActif(boolean actif) {
00062     this.actif = actif;
00063   }
00064 
00065   public String getName() {
00066     return name;
00067   }
00068 
00069   public void setName(String name) {
00070     this.name = name;
00071   }
00072 
00076   protected DefaultTerminalUser() {
00077     super();
00078   }
00079 
00085   public DefaultTerminalUser(String id) {
00086     this.id = id;
00087   }
00088 
00089   public String getTerminalUserId() {
00090     return this.id;
00091   }
00092 
00098   public String getLangue() {
00099     return langue;
00100   }
00101 
00108   public void setLangue(String langue) {
00109     this.langue = langue;
00110   }
00111 
00112   public boolean isInstallTerminalUser() {
00113     return installRep;
00114   }
00115 
00116   public void setInstallTerminalUser(boolean bool) {
00117     installRep = bool;
00118   }
00119 
00123   public String getProfil() {
00124     return profil;
00125   }
00126 
00130   public void setProfil(String string) {
00131     profil = string;
00132   }
00133 
00134 }

Generated on Mon Jan 11 21:19:14 2010 for OpenMobileIS by  doxygen 1.5.4