Subversion Repositories eFlore/Applications.coel

Rev

Rev 1219 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1219 Rev 1327
Line 4... Line 4...
4
import java.util.List;
4
import java.util.List;
Line 5... Line 5...
5
 
5
 
6
import org.tela_botanica.client.modeles.aDonnee;
6
import org.tela_botanica.client.modeles.aDonnee;
Line -... Line 7...
-
 
7
import org.tela_botanica.client.util.Debug;
7
import org.tela_botanica.client.util.Debug;
8
 
Line 8... Line 9...
8
 
9
import com.extjs.gxt.ui.client.data.ModelData;
Line 9... Line 10...
9
import com.google.gwt.json.client.JSONObject;
10
import com.google.gwt.json.client.JSONObject;
Line 20... Line 21...
20
	public static String[] champsObligatoires = {"cc_id_collection","cc_ce_type"};
21
	public static String[] champsObligatoires = {"cc_id_collection","cc_ce_type"};
Line 21... Line 22...
21
		
22
		
22
	public Collection() {
23
	public Collection() {
Line -... Line 24...
-
 
24
	}
-
 
25
	
-
 
26
	public Collection(ModelData model)
-
 
27
	{		
-
 
28
		this.set("id_collection", model.get("cc_id_collection"));
-
 
29
		this.set("nom", model.get("cc_nom"));
23
	}
30
	}
24
	
31
	
25
	public Collection(JSONObject collection) {
32
	public Collection(JSONObject collection) {
Line 26... Line 33...
26
		initialiserModele(collection);
33
		initialiserModele(collection);