New file |
0,0 → 1,42 |
package org.tela_botanica.client.modeles; |
|
import com.extjs.gxt.ui.client.data.BaseTreeModel; |
|
public class Aide extends BaseTreeModel { |
|
private static final long serialVersionUID = 4660015084509968872L; |
|
public Aide() { |
} |
|
public Aide(String n) { |
set("nom", n); |
} |
|
public Aide(String nom, String code, String auteur, String groupe) { |
set("nom", nom); |
set("code", code); |
set("auteur", auteur); |
set("groupe", groupe); |
} |
|
public String getNom() { |
return (String) get("nom"); |
} |
|
public String getCode() { |
return (String) get("code"); |
} |
|
public String getAuteur() { |
return (String) get("auteur"); |
} |
|
public String getGroupe() { |
return (String) get("groupe"); |
} |
|
public String toString() { |
return getNom(); |
} |
} |