1,8 → 1,5 |
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; |
16,8 → 13,7 |
private CollectionAPersonneListe personnesLiees = null; |
private CollectionAPublicationListe publicationsLiees = null; |
private CollectionACommentaireListe commentairesLiees = null; |
public static String[] champsObligatoires = {"cc_id_collection"}; |
|
|
public Collection() { |
} |
|
30,10 → 26,6 |
return PREFIXE; |
} |
|
protected String[] getChampsObligatoires() { |
return champsObligatoires; |
} |
|
// BOTANIQUE |
public CollectionBotanique getBotanique() { |
if (botanique == null) { |
104,10 → 96,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 |
417,11 → 409,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"); |
} |
} |