Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
package org.tela_botanica.client.modeles.collection;
import org.tela_botanica.client.modeles.aDonnee;
import com.google.gwt.json.client.JSONObject;
public class CollectionAStructure extends aDonnee {
private static final long serialVersionUID = -8891776931124681678L;
public static final String PREFIXE = "cc";
public static String[] champsObligatoires = {"cc_id_collection","cc_nom"};
public CollectionAStructure(JSONObject collectionAStructure){
initialiserModele(collectionAStructure);
}
@Override
protected String getPrefixe() {
return PREFIXE;
}
@Override
protected String[] getChampsObligatoires() {
return champsObligatoires;
}
public String getNom() {
return renvoyerValeurCorrecte("nom");
}
public String getIdCollection() {
return renvoyerValeurCorrecte("id_collection");
}
}