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

DefaultRepresentant.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  *  Modifications :
00025  *  2005 Creation P.Delrieu
00026  * 
00027  */
00028 
00029 package org.openmobileis.modules.crm.data.common;
00030 
00031 import java.io.Serializable;
00032 
00033 
00042 public class DefaultRepresentant implements Representant, Serializable  {
00043   protected static final long serialVersionUID = 5521257935120563452L;
00044 
00045         private String langue="fr";
00046         private String id;
00047 //      private String[] secteurGeo;
00048         private boolean installRep;
00049         private boolean selectedRep;
00050         private String profil="";
00051 
00055         protected DefaultRepresentant() {
00056                 super();
00057         }
00058 
00063         public DefaultRepresentant(String id) {
00064                 this.id = id;
00065         }
00066 
00067 /*      public String[] getRepresentantSectorList()     {
00068                 return secteurGeo;
00069         }*/
00070         
00071 /*      public void setRepresentantSectorList(String[] sectorList)      {
00072                 secteurGeo = sectorList;
00073         }*/
00074 
00075 
00076         public String getRepresentantId()       {
00077                 return this.id;
00078         }
00079 
00084         public String getLangue() {
00085                 return langue;
00086         }
00087 
00092         public void setLangue(String langue) {
00093                 this.langue = langue;
00094         }
00095         
00096         public boolean isInstallRepresentant()  {
00097                 return installRep;
00098         }
00099         public void setInstallRepresentant(boolean bool)        {
00100                 installRep = bool;
00101         }
00102         
00103         public boolean isSelectedRepresentant() {
00104                 return selectedRep;
00105         }
00106         public void setSelectedRepresentant(boolean bool)       {
00107                 selectedRep = bool;
00108         }
00112   public String getProfil() {
00113     return profil;
00114   }
00115 
00119   public void setProfil(String string) {
00120     profil = string;
00121   }
00122 
00123 }

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