Subversion Repositories eFlore/Applications.del

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2054 aurelien 1
package org.tela_botanica.del.client.modeles;
2
 
3
public class ActiviteUtilisateur {
4
 
5
	private String nbEvenements = "0";
6
	private String dateDerniereConsultationEvenements = null;
7
 
8
	public String getNbEvenements() {
9
		return nbEvenements;
10
	}
11
 
12
	public int getNbEvenementsInt() {
13
		int nbEvents = 0;
14
		try {
15
			nbEvents = Integer.parseInt(nbEvenements);
16
		} catch (Exception e) {
17
			nbEvents = 0;
18
		}
19
		return nbEvents;
20
	}
21
 
22
	public void setNbEvenements(String nbEvenements) {
23
		this.nbEvenements = nbEvenements;
24
	}
25
 
26
	public String getDateDerniereConsultationEvenements() {
27
		return dateDerniereConsultationEvenements;
28
	}
29
 
30
	public void setDateDerniereConsultationEvenements(String dateDerniereConsultationEvenements) {
31
		this.dateDerniereConsultationEvenements = dateDerniereConsultationEvenements;
32
	}
33
}