Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1172 → Rev 1173

/trunk/src/org/tela_botanica/client/modeles/collection/Collection.java
1,5 → 1,8
package org.tela_botanica.client.modeles.collection;
 
import java.util.LinkedList;
import java.util.List;
 
import org.tela_botanica.client.modeles.aDonnee;
 
import com.google.gwt.json.client.JSONObject;
13,7 → 16,8
private CollectionAPersonneListe personnesLiees = null;
private CollectionAPublicationListe publicationsLiees = null;
private CollectionACommentaireListe commentairesLiees = null;
public static String[] champsObligatoires = {"cc_id_collection"};
public Collection() {
}
26,6 → 30,10
return PREFIXE;
}
protected String[] getChampsObligatoires() {
return champsObligatoires;
}
// BOTANIQUE
public CollectionBotanique getBotanique() {
if (botanique == null) {
96,10 → 104,10
// COLLECTION MERE NOM
public String getCollectionMereNom() {
return renvoyerValeurCorrecte("collection_mere_nom");
return renvoyerValeurCorrecte("_collection_mere_nom_");
}
public void setCollectionMereNom(String collectionMereNom) {
this.set("collection_mere_nom", collectionMereNom);
this.set("_collection_mere_nom_", collectionMereNom);
}
// CE STRUCTURE
409,11 → 417,11
// +--------------------------------------------------------------------------------------------------------------+
// STRUCTURE NOM
public String getStructureNom() {
return renvoyerValeurCorrecte("structure_nom");
return renvoyerValeurCorrecte("_structure_nom_");
}
// STRUCTURE VILLE
public String getStructureVille() {
return renvoyerValeurCorrecte("structure_ville");
return renvoyerValeurCorrecte("_structure_ville_");
}
}