Subversion Repositories eFlore/Applications.del

Rev

Rev 2054 | Blame | Compare with Previous | Last modification | View Log | RSS feed

package org.tela_botanica.del.client.modeles;

public class ActiviteUtilisateur {
        
        private String nbEvenements = "0";
        private String dateDerniereConsultationEvenements = null;
        
        public String getNbEvenements() {
                return nbEvenements;
        }
        
        public int getNbEvenementsInt() {
                int nbEvents = 0;
                try {
                        nbEvents = Integer.parseInt(nbEvenements);
                } catch (Exception e) {
                        nbEvents = 0;
                } 
                return nbEvents;
        }
        
        public void setNbEvenements(String nbEvenements) {
                this.nbEvenements = nbEvenements;
        }
        
        public String getDateDerniereConsultationEvenements() {
                return dateDerniereConsultationEvenements;
        }
        
        public void setDateDerniereConsultationEvenements(String dateDerniereConsultationEvenements) {
                this.dateDerniereConsultationEvenements = dateDerniereConsultationEvenements;
        }
}