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 boolean selectedRep;
00052 
00053   private String profil = "";
00054 
00055   private boolean actif;
00056 
00057   private String name;
00058 
00059   public boolean isActif() {
00060     return actif;
00061   }
00062 
00063   public void setActif(boolean actif) {
00064     this.actif = actif;
00065   }
00066 
00067   public String getName() {
00068     return name;
00069   }
00070 
00071   public void setName(String name) {
00072     this.name = name;
00073   }
00074 
00078   protected DefaultTerminalUser() {
00079     super();
00080   }
00081 
00087   public DefaultTerminalUser(String id) {
00088     this.id = id;
00089   }
00090 
00091   /*
00092    * public String[] getRepresentantSectorList() { return secteurGeo; }
00093    */
00094 
00095   /*
00096    * public void setRepresentantSectorList(String[] sectorList) { secteurGeo = sectorList; }
00097    */
00098 
00099   public String getTerminalUserId() {
00100     return this.id;
00101   }
00102 
00108   public String getLangue() {
00109     return langue;
00110   }
00111 
00118   public void setLangue(String langue) {
00119     this.langue = langue;
00120   }
00121 
00122   public boolean isInstallTerminalUser() {
00123     return installRep;
00124   }
00125 
00126   public void setInstallTerminalUser(boolean bool) {
00127     installRep = bool;
00128   }
00129 
00133   public String getProfil() {
00134     return profil;
00135   }
00136 
00140   public void setProfil(String string) {
00141     profil = string;
00142   }
00143 
00144 }

Generated on Mon Dec 4 11:03:25 2006 for OpenMobileIS by  doxygen 1.5.1-p1