Subversion Repositories eFlore/Applications.coel

Rev

Rev 1173 | Rev 1329 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1173 Rev 1292
Line 1... Line 1...
1
package org.tela_botanica.client.modeles;
1
package org.tela_botanica.client.modeles;
Line 2... Line 2...
2
 
2
 
3
import java.util.Iterator;
3
import java.util.Iterator;
Line -... Line 4...
-
 
4
import java.util.Set;
-
 
5
 
-
 
6
import org.tela_botanica.client.util.Debug;
4
import java.util.Set;
7
 
Line 5... Line 8...
5
 
8
import com.extjs.gxt.ui.client.data.ModelData;
Line 6... Line 9...
6
import com.google.gwt.json.client.JSONObject;
9
import com.google.gwt.json.client.JSONObject;
Line 42... Line 45...
42
		this.set("nom", nom);
45
		this.set("nom", nom);
43
		this.set("abreviation", abr);
46
		this.set("abreviation", abr);
44
		this.set("description", description);
47
		this.set("description", description);
45
	}
48
	}
Line -... Line 49...
-
 
49
	
-
 
50
	public Valeur(ModelData model)
-
 
51
	{
-
 
52
		Debug.log("id_valeur = "+model.get("cmlv_id_valeur"));
-
 
53
		Debug.log("nom = "+model.get("cmlv_nom"));
-
 
54
		
-
 
55
		this.set("id_valeur", model.get("cmlv_id_valeur"));
-
 
56
		this.set("nom", model.get("cmlv_nom"));
-
 
57
		this.set("abreviation", model.get("cmlv_abreviation"));
-
 
58
		this.set("description", model.get("cmlv_description"));
-
 
59
	}
46
	
60
	
47
	@Override
61
	@Override
48
	protected String getPrefixe() {
62
	protected String getPrefixe() {
49
		return PREFIXE;
63
		return PREFIXE;