Subversion Repositories eFlore/Applications.coel

Rev

Rev 1415 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
66 jpm 1
package org.tela_botanica.client.modeles;
2
 
3
import com.extjs.gxt.ui.client.data.BaseTreeModel;
4
 
499 jp_milcent 5
public class Aide extends BaseTreeModel {
66 jpm 6
 
499 jp_milcent 7
	private static final long serialVersionUID = 4660015084509968872L;
8
 
66 jpm 9
	public Aide() {
10
	}
11
 
12
	public Aide(String n) {
13
		set("nom", n);
14
	}
15
 
16
	public Aide(String nom, String code, String auteur, String groupe) {
17
		set("nom", nom);
18
		set("code", code);
19
		set("auteur", auteur);
20
		set("groupe", groupe);
21
	}
22
 
23
	public String getNom() {
24
		return (String) get("nom");
25
	}
26
 
27
	public String getCode() {
28
		return (String) get("code");
29
	}
30
 
31
	public String getAuteur() {
32
		return (String) get("auteur");
33
	}
34
 
35
	public String getGroupe() {
36
		return (String) get("groupe");
37
	}
38
 
39
	public String toString() {
40
		return getNom();
41
	}
42
}