6,6 → 6,7 |
import org.tela_botanica.client.modeles.aDonnee; |
import org.tela_botanica.client.util.Debug; |
|
import com.extjs.gxt.ui.client.data.ModelData; |
import com.google.gwt.json.client.JSONObject; |
|
public class Collection extends aDonnee { |
22,6 → 23,12 |
public Collection() { |
} |
|
public Collection(ModelData model) |
{ |
this.set("id_collection", model.get("cc_id_collection")); |
this.set("nom", model.get("cc_nom")); |
} |
|
public Collection(JSONObject collection) { |
initialiserModele(collection); |
} |
208,7 → 215,7 |
} |
|
// TYPE NCD |
public String getTypeNcd() { |
public String getTypeNcd() { |
return renvoyerValeurCorrecte("ce_type"); |
} |
public void setTypeNcd(String typeNcd) { |