| 935 | 
           jpm | 
           1 | 
           package org.tela_botanica.client.modeles.collection;
  | 
        
        
           | 453 | 
           jp_milcent | 
           2 | 
              | 
        
        
           | 1369 | 
           cyprien | 
           3 | 
           import java.util.Iterator;
  | 
        
        
            | 
            | 
           4 | 
           import java.util.Map;
  | 
        
        
            | 
            | 
           5 | 
           import java.util.Set;
  | 
        
        
           | 1173 | 
           jpm | 
           6 | 
              | 
        
        
           | 1935 | 
           mathias | 
           7 | 
           import org.tela_botanica.client.Coel;
  | 
        
        
           | 935 | 
           jpm | 
           8 | 
           import org.tela_botanica.client.modeles.aDonnee;
  | 
        
        
            | 
            | 
           9 | 
              | 
        
        
           | 1329 | 
           cyprien | 
           10 | 
           import com.extjs.gxt.ui.client.data.ModelData;
  | 
        
        
           | 453 | 
           jp_milcent | 
           11 | 
           import com.google.gwt.json.client.JSONObject;
  | 
        
        
            | 
            | 
           12 | 
              | 
        
        
            | 
            | 
           13 | 
           public class Collection extends aDonnee {
  | 
        
        
            | 
            | 
           14 | 
              | 
        
        
           | 468 | 
           jp_milcent | 
           15 | 
           	private static final long serialVersionUID = 3295310312337145716L;
  | 
        
        
            | 
            | 
           16 | 
              | 
        
        
           | 453 | 
           jp_milcent | 
           17 | 
           	public static final String PREFIXE = "cc";
  | 
        
        
            | 
            | 
           18 | 
           	private CollectionBotanique botanique = null;
  | 
        
        
           | 883 | 
           jpm | 
           19 | 
           	private CollectionAPersonneListe personnesLiees = null;
  | 
        
        
            | 
            | 
           20 | 
           	private CollectionAPublicationListe publicationsLiees = null;
  | 
        
        
           | 997 | 
           jpm | 
           21 | 
           	private CollectionACommentaireListe commentairesLiees = null;
  | 
        
        
           | 1235 | 
           cyprien | 
           22 | 
           	public static String[] champsObligatoires = {"cc_id_collection","cc_ce_type"};
  | 
        
        
           | 1232 | 
           cyprien | 
           23 | 
              | 
        
        
           | 1369 | 
           cyprien | 
           24 | 
           	public Collection() {
  | 
        
        
           | 453 | 
           jp_milcent | 
           25 | 
           	}
  | 
        
        
           | 1369 | 
           cyprien | 
           26 | 
              | 
        
        
           | 1329 | 
           cyprien | 
           27 | 
           	public Collection(ModelData model)
  | 
        
        
            | 
            | 
           28 | 
           	{
  | 
        
        
           | 1369 | 
           cyprien | 
           29 | 
           		Map<String, Object> a = model.getProperties();
  | 
        
        
            | 
            | 
           30 | 
              | 
        
        
            | 
            | 
           31 | 
           		Set<String> cles = a.keySet();
  | 
        
        
            | 
            | 
           32 | 
           		Iterator<String> it = cles.iterator();
  | 
        
        
            | 
            | 
           33 | 
           		while (it.hasNext()) {
  | 
        
        
            | 
            | 
           34 | 
           			String cle = it.next();
  | 
        
        
            | 
            | 
           35 | 
           			if (a.get(cle) != null) {
  | 
        
        
            | 
            | 
           36 | 
           				String cleObjet = cle.replaceFirst("^"+getPrefixe()+"_", "");
  | 
        
        
            | 
            | 
           37 | 
           				this.set(cleObjet, a.get(cle));
  | 
        
        
            | 
            | 
           38 | 
           			}
  | 
        
        
            | 
            | 
           39 | 
           		}
  | 
        
        
           | 1329 | 
           cyprien | 
           40 | 
           	}
  | 
        
        
           | 1369 | 
           cyprien | 
           41 | 
              | 
        
        
           | 1232 | 
           cyprien | 
           42 | 
           	public Collection(JSONObject collection){
  | 
        
        
           | 775 | 
           jpm | 
           43 | 
           		initialiserModele(collection);
  | 
        
        
           | 453 | 
           jp_milcent | 
           44 | 
           	}
  | 
        
        
            | 
            | 
           45 | 
              | 
        
        
           | 748 | 
           jpm | 
           46 | 
           	@Override
  | 
        
        
           | 1232 | 
           cyprien | 
           47 | 
           	protected String getPrefixe(){
  | 
        
        
           | 748 | 
           jpm | 
           48 | 
           		return PREFIXE;
  | 
        
        
            | 
            | 
           49 | 
           	}
  | 
        
        
            | 
            | 
           50 | 
              | 
        
        
           | 1173 | 
           jpm | 
           51 | 
           	protected String[] getChampsObligatoires()	{
  | 
        
        
            | 
            | 
           52 | 
           		return champsObligatoires;
  | 
        
        
            | 
            | 
           53 | 
           	}
  | 
        
        
            | 
            | 
           54 | 
              | 
        
        
           | 453 | 
           jp_milcent | 
           55 | 
           	// BOTANIQUE
  | 
        
        
            | 
            | 
           56 | 
           	public CollectionBotanique getBotanique() {
  | 
        
        
           | 948 | 
           jpm | 
           57 | 
           		if (botanique == null) {
  | 
        
        
            | 
            | 
           58 | 
           			botanique = new CollectionBotanique();
  | 
        
        
            | 
            | 
           59 | 
           		}
  | 
        
        
           | 453 | 
           jp_milcent | 
           60 | 
           		return botanique;
  | 
        
        
            | 
            | 
           61 | 
           	}
  | 
        
        
            | 
            | 
           62 | 
           	public void setBotanique(CollectionBotanique botaniqueAStocker) {
  | 
        
        
            | 
            | 
           63 | 
           		botanique = botaniqueAStocker;
  | 
        
        
            | 
            | 
           64 | 
           	}
  | 
        
        
            | 
            | 
           65 | 
              | 
        
        
           | 883 | 
           jpm | 
           66 | 
           	// PERSONNES LIÉES
  | 
        
        
            | 
            | 
           67 | 
           	public CollectionAPersonneListe getPersonnesLiees() {
  | 
        
        
           | 997 | 
           jpm | 
           68 | 
           		if (personnesLiees == null) {
  | 
        
        
            | 
            | 
           69 | 
           			personnesLiees = new CollectionAPersonneListe();
  | 
        
        
            | 
            | 
           70 | 
           		}
  | 
        
        
           | 883 | 
           jpm | 
           71 | 
           		return personnesLiees;
  | 
        
        
            | 
            | 
           72 | 
           	}
  | 
        
        
            | 
            | 
           73 | 
           	public void setPersonnesLiees(CollectionAPersonneListe relationsCollectionAPersonne) {
  | 
        
        
            | 
            | 
           74 | 
           		personnesLiees = relationsCollectionAPersonne;
  | 
        
        
            | 
            | 
           75 | 
           	}
  | 
        
        
            | 
            | 
           76 | 
              | 
        
        
            | 
            | 
           77 | 
           	// PUBLICATIONS LIÉES
  | 
        
        
            | 
            | 
           78 | 
           	public CollectionAPublicationListe getPublicationsLiees() {
  | 
        
        
           | 997 | 
           jpm | 
           79 | 
           		if (publicationsLiees == null) {
  | 
        
        
            | 
            | 
           80 | 
           			publicationsLiees = new CollectionAPublicationListe();
  | 
        
        
            | 
            | 
           81 | 
           		}
  | 
        
        
           | 883 | 
           jpm | 
           82 | 
           		return publicationsLiees;
  | 
        
        
            | 
            | 
           83 | 
           	}
  | 
        
        
            | 
            | 
           84 | 
           	public void setPublicationsLiees(CollectionAPublicationListe relationsCollectionAPublication) {
  | 
        
        
            | 
            | 
           85 | 
           		publicationsLiees = relationsCollectionAPublication;
  | 
        
        
            | 
            | 
           86 | 
           	}
  | 
        
        
            | 
            | 
           87 | 
              | 
        
        
           | 997 | 
           jpm | 
           88 | 
           	// COMMENTAIRES LIÉS
  | 
        
        
            | 
            | 
           89 | 
           	public CollectionACommentaireListe getCommentairesLiees() {
  | 
        
        
            | 
            | 
           90 | 
           		if (commentairesLiees == null) {
  | 
        
        
            | 
            | 
           91 | 
           			commentairesLiees = new CollectionACommentaireListe();
  | 
        
        
            | 
            | 
           92 | 
           		}
  | 
        
        
            | 
            | 
           93 | 
           		return commentairesLiees;
  | 
        
        
            | 
            | 
           94 | 
           	}
  | 
        
        
            | 
            | 
           95 | 
           	public void setCommentairesLiees(CollectionACommentaireListe relationsCollectionACommentaire) {
  | 
        
        
            | 
            | 
           96 | 
           		commentairesLiees = relationsCollectionACommentaire;
  | 
        
        
            | 
            | 
           97 | 
           	}
  | 
        
        
            | 
            | 
           98 | 
              | 
        
        
           | 453 | 
           jp_milcent | 
           99 | 
           	// ID
  | 
        
        
            | 
            | 
           100 | 
           	public String getId() {
  | 
        
        
            | 
            | 
           101 | 
           		return renvoyerValeurCorrecte("id_collection");
  | 
        
        
            | 
            | 
           102 | 
           	}
  | 
        
        
            | 
            | 
           103 | 
           	public void setId(String idCollection) {
  | 
        
        
            | 
            | 
           104 | 
           		this.set("id_collection", idCollection);
  | 
        
        
            | 
            | 
           105 | 
           	}
  | 
        
        
            | 
            | 
           106 | 
              | 
        
        
           | 867 | 
           jpm | 
           107 | 
           	// COLLECTION MERE ID
  | 
        
        
            | 
            | 
           108 | 
           	public String getCollectionMereId() {
  | 
        
        
            | 
            | 
           109 | 
           		return renvoyerValeurCorrecte("ce_mere");
  | 
        
        
            | 
            | 
           110 | 
           	}
  | 
        
        
            | 
            | 
           111 | 
           	public void setCollectionMereId(String collectionMereId) {
  | 
        
        
            | 
            | 
           112 | 
           		this.set("ce_mere", collectionMereId);
  | 
        
        
            | 
            | 
           113 | 
           	}
  | 
        
        
            | 
            | 
           114 | 
              | 
        
        
           | 628 | 
           jp_milcent | 
           115 | 
           	// COLLECTION MERE NOM
  | 
        
        
            | 
            | 
           116 | 
           	public String getCollectionMereNom() {
  | 
        
        
           | 1173 | 
           jpm | 
           117 | 
           		return renvoyerValeurCorrecte("_collection_mere_nom_");
  | 
        
        
           | 628 | 
           jp_milcent | 
           118 | 
           	}
  | 
        
        
            | 
            | 
           119 | 
           	public void setCollectionMereNom(String collectionMereNom) {
  | 
        
        
           | 1173 | 
           jpm | 
           120 | 
           		this.set("_collection_mere_nom_", collectionMereNom);
  | 
        
        
           | 628 | 
           jp_milcent | 
           121 | 
           	}
  | 
        
        
            | 
            | 
           122 | 
              | 
        
        
           | 453 | 
           jp_milcent | 
           123 | 
           	// CE STRUCTURE
  | 
        
        
            | 
            | 
           124 | 
           	public String getIdStructure() {
  | 
        
        
            | 
            | 
           125 | 
           		return renvoyerValeurCorrecte("ce_structure");
  | 
        
        
            | 
            | 
           126 | 
           	}
  | 
        
        
            | 
            | 
           127 | 
           	public void setIdStructure(String idStructure) {
  | 
        
        
            | 
            | 
           128 | 
           		this.set("ce_structure", idStructure);
  | 
        
        
            | 
            | 
           129 | 
           	}
  | 
        
        
            | 
            | 
           130 | 
              | 
        
        
            | 
            | 
           131 | 
           	// GUID
  | 
        
        
            | 
            | 
           132 | 
           	public String getGuid() {
  | 
        
        
            | 
            | 
           133 | 
           		return renvoyerValeurCorrecte("guid");
  | 
        
        
            | 
            | 
           134 | 
           	}
  | 
        
        
            | 
            | 
           135 | 
           	public void setGuid(String guid) {
  | 
        
        
            | 
            | 
           136 | 
           		this.set("guid", guid);
  | 
        
        
            | 
            | 
           137 | 
           	}
  | 
        
        
            | 
            | 
           138 | 
              | 
        
        
           | 477 | 
           jp_milcent | 
           139 | 
           	// CODE
  | 
        
        
            | 
            | 
           140 | 
           	public String getCode() {
  | 
        
        
           | 628 | 
           jp_milcent | 
           141 | 
           		return renvoyerValeurCorrecte("truk_code");
  | 
        
        
           | 477 | 
           jp_milcent | 
           142 | 
           	}
  | 
        
        
            | 
            | 
           143 | 
           	public void setCode(String code) {
  | 
        
        
           | 628 | 
           jp_milcent | 
           144 | 
           		this.set("truk_code", code);
  | 
        
        
           | 477 | 
           jp_milcent | 
           145 | 
           	}
  | 
        
        
            | 
            | 
           146 | 
              | 
        
        
           | 453 | 
           jp_milcent | 
           147 | 
           	// NOM
  | 
        
        
            | 
            | 
           148 | 
           	public String getNom() {
  | 
        
        
            | 
            | 
           149 | 
           		return renvoyerValeurCorrecte("nom");
  | 
        
        
            | 
            | 
           150 | 
           	}
  | 
        
        
            | 
            | 
           151 | 
           	public void setNom(String nom) {
  | 
        
        
            | 
            | 
           152 | 
           		this.set("nom", nom);
  | 
        
        
            | 
            | 
           153 | 
           	}
  | 
        
        
           | 628 | 
           jp_milcent | 
           154 | 
              | 
        
        
            | 
            | 
           155 | 
           	// NOM ALTERNATIF
  | 
        
        
            | 
            | 
           156 | 
           	public String getNomAlternatif() {
  | 
        
        
            | 
            | 
           157 | 
           		return renvoyerValeurCorrecte("truk_nom_alternatif");
  | 
        
        
           | 453 | 
           jp_milcent | 
           158 | 
           	}
  | 
        
        
           | 628 | 
           jp_milcent | 
           159 | 
           	public void setNomAlternatif(String nomAlter) {
  | 
        
        
            | 
            | 
           160 | 
           		this.set("truk_nom_alternatif", nomAlter);
  | 
        
        
           | 453 | 
           jp_milcent | 
           161 | 
           	}
  | 
        
        
           | 477 | 
           jp_milcent | 
           162 | 
              | 
        
        
            | 
            | 
           163 | 
           	// DESCRIPTION
  | 
        
        
            | 
            | 
           164 | 
           	public String getDescription() {
  | 
        
        
            | 
            | 
           165 | 
           		return renvoyerValeurCorrecte("description");
  | 
        
        
            | 
            | 
           166 | 
           	}
  | 
        
        
            | 
            | 
           167 | 
           	public void setDescription(String description) {
  | 
        
        
            | 
            | 
           168 | 
           		this.set("description", description);
  | 
        
        
            | 
            | 
           169 | 
           	}
  | 
        
        
            | 
            | 
           170 | 
              | 
        
        
           | 628 | 
           jp_milcent | 
           171 | 
           	// HISTORIQUE
  | 
        
        
            | 
            | 
           172 | 
           	public String getHistorique() {
  | 
        
        
            | 
            | 
           173 | 
           		return renvoyerValeurCorrecte("historique");
  | 
        
        
            | 
            | 
           174 | 
           	}
  | 
        
        
            | 
            | 
           175 | 
           	public void setHistorique(String historique) {
  | 
        
        
            | 
            | 
           176 | 
           		this.set("historique", historique);
  | 
        
        
            | 
            | 
           177 | 
           	}
  | 
        
        
           | 468 | 
           jp_milcent | 
           178 | 
              | 
        
        
           | 628 | 
           jp_milcent | 
           179 | 
           	// URL
  | 
        
        
            | 
            | 
           180 | 
           	public String getUrls() {
  | 
        
        
            | 
            | 
           181 | 
           		return renvoyerValeurCorrecte("truk_url");
  | 
        
        
            | 
            | 
           182 | 
           	}
  | 
        
        
            | 
            | 
           183 | 
           	public void setUrls(String urls) {
  | 
        
        
            | 
            | 
           184 | 
           		this.set("truk_url", urls);
  | 
        
        
            | 
            | 
           185 | 
           	}
  | 
        
        
            | 
            | 
           186 | 
              | 
        
        
            | 
            | 
           187 | 
           	// TYPE NCD
  | 
        
        
            | 
            | 
           188 | 
           	public String getTypeNcd() {
  | 
        
        
            | 
            | 
           189 | 
           		return renvoyerValeurCorrecte("ce_type");
  | 
        
        
            | 
            | 
           190 | 
           	}
  | 
        
        
            | 
            | 
           191 | 
           	public void setTypeNcd(String typeNcd) {
  | 
        
        
            | 
            | 
           192 | 
           		this.set("ce_type", typeNcd);
  | 
        
        
            | 
            | 
           193 | 
           	}
  | 
        
        
            | 
            | 
           194 | 
              | 
        
        
            | 
            | 
           195 | 
           	// TYPE DEPOT
  | 
        
        
            | 
            | 
           196 | 
           	public String getTypeDepot() {
  | 
        
        
            | 
            | 
           197 | 
           		return renvoyerValeurCorrecte("ce_type_depot");
  | 
        
        
            | 
            | 
           198 | 
           	}
  | 
        
        
            | 
            | 
           199 | 
           	public void setTypeDepot(String typeDepot) {
  | 
        
        
            | 
            | 
           200 | 
           		this.set("ce_type_depot", typeDepot);
  | 
        
        
            | 
            | 
           201 | 
           	}
  | 
        
        
            | 
            | 
           202 | 
              | 
        
        
           | 869 | 
           jpm | 
           203 | 
           	// COTE
  | 
        
        
            | 
            | 
           204 | 
           	public String getCote() {
  | 
        
        
            | 
            | 
           205 | 
           		return renvoyerValeurCorrecte("cote");
  | 
        
        
            | 
            | 
           206 | 
           	}
  | 
        
        
            | 
            | 
           207 | 
           	public void setCote(String cote) {
  | 
        
        
            | 
            | 
           208 | 
           		this.set("cote", cote);
  | 
        
        
            | 
            | 
           209 | 
           	}
  | 
        
        
            | 
            | 
           210 | 
              | 
        
        
            | 
            | 
           211 | 
           	// DIMENSSION
  | 
        
        
            | 
            | 
           212 | 
           	public String getDimenssion() {
  | 
        
        
            | 
            | 
           213 | 
           		return renvoyerValeurCorrecte("dimenssion");
  | 
        
        
            | 
            | 
           214 | 
           	}
  | 
        
        
            | 
            | 
           215 | 
           	public void setDimenssion(String dimenssion) {
  | 
        
        
            | 
            | 
           216 | 
           		this.set("dimenssion", dimenssion);
  | 
        
        
            | 
            | 
           217 | 
           	}
  | 
        
        
            | 
            | 
           218 | 
              | 
        
        
            | 
            | 
           219 | 
           	// CONDITION ACCÉS
  | 
        
        
            | 
            | 
           220 | 
           	public String getConditionAcces() {
  | 
        
        
            | 
            | 
           221 | 
           		return renvoyerValeurCorrecte("condition_acces");
  | 
        
        
            | 
            | 
           222 | 
           	}
  | 
        
        
            | 
            | 
           223 | 
           	public void setConditionAcces(String conditionAcces) {
  | 
        
        
            | 
            | 
           224 | 
           		this.set("condition_acces", conditionAcces);
  | 
        
        
            | 
            | 
           225 | 
           	}
  | 
        
        
            | 
            | 
           226 | 
              | 
        
        
            | 
            | 
           227 | 
           	// CONDITION USAGE
  | 
        
        
            | 
            | 
           228 | 
           	public String getConditionUsage() {
  | 
        
        
            | 
            | 
           229 | 
           		return renvoyerValeurCorrecte("condition_usage");
  | 
        
        
            | 
            | 
           230 | 
           	}
  | 
        
        
            | 
            | 
           231 | 
           	public void setConditionUsage(String conditionUsage) {
  | 
        
        
            | 
            | 
           232 | 
           		this.set("condition_usage", conditionUsage);
  | 
        
        
            | 
            | 
           233 | 
           	}
  | 
        
        
            | 
            | 
           234 | 
              | 
        
        
            | 
            | 
           235 | 
           	// COUVERTURE VERNACULAIRE
  | 
        
        
            | 
            | 
           236 | 
           	public String getCouvertureVernaculaire() {
  | 
        
        
            | 
            | 
           237 | 
           		return renvoyerValeurCorrecte("truk_couverture_vernaculaire");
  | 
        
        
            | 
            | 
           238 | 
           	}
  | 
        
        
            | 
            | 
           239 | 
           	public void setCouvertureVernaculaire(String couvertureVernaculaire) {
  | 
        
        
            | 
            | 
           240 | 
           		this.set("truk_couverture_vernaculaire", couvertureVernaculaire);
  | 
        
        
            | 
            | 
           241 | 
           	}
  | 
        
        
            | 
            | 
           242 | 
              | 
        
        
            | 
            | 
           243 | 
           	// COUVERTURE TAXONOMIQUE
  | 
        
        
            | 
            | 
           244 | 
           	public String getCouvertureTaxonomique() {
  | 
        
        
            | 
            | 
           245 | 
           		return renvoyerValeurCorrecte("truk_couverture_taxonomique");
  | 
        
        
            | 
            | 
           246 | 
           	}
  | 
        
        
            | 
            | 
           247 | 
           	public void setCouvertureTaxonomique(String couvertureTaxonomique) {
  | 
        
        
            | 
            | 
           248 | 
           		this.set("truk_couverture_taxonomique", couvertureTaxonomique);
  | 
        
        
            | 
            | 
           249 | 
           	}
  | 
        
        
            | 
            | 
           250 | 
              | 
        
        
            | 
            | 
           251 | 
           	// COUVERTURE REGNE
  | 
        
        
            | 
            | 
           252 | 
           	public String getCouvertureRegne() {
  | 
        
        
            | 
            | 
           253 | 
           		return renvoyerValeurCorrecte("truk_couverture_regne");
  | 
        
        
            | 
            | 
           254 | 
           	}
  | 
        
        
            | 
            | 
           255 | 
           	public void setCouvertureRegne(String couvertureRegne) {
  | 
        
        
            | 
            | 
           256 | 
           		this.set("truk_couverture_regne", couvertureRegne);
  | 
        
        
            | 
            | 
           257 | 
           	}
  | 
        
        
            | 
            | 
           258 | 
              | 
        
        
            | 
            | 
           259 | 
           	// COUVERTURE TEMPORELLE
  | 
        
        
            | 
            | 
           260 | 
           	public String getCouvertureTemporelle() {
  | 
        
        
            | 
            | 
           261 | 
           		return renvoyerValeurCorrecte("truk_couverture_temporelle");
  | 
        
        
            | 
            | 
           262 | 
           	}
  | 
        
        
            | 
            | 
           263 | 
           	public void setCouvertureTemporelle(String couvertureTemporelle) {
  | 
        
        
            | 
            | 
           264 | 
           		this.set("truk_couverture_temporelle", couvertureTemporelle);
  | 
        
        
            | 
            | 
           265 | 
           	}
  | 
        
        
            | 
            | 
           266 | 
              | 
        
        
            | 
            | 
           267 | 
           	// COUVERTURE VIE
  | 
        
        
            | 
            | 
           268 | 
           	public String getCouvertureVie() {
  | 
        
        
            | 
            | 
           269 | 
           		return renvoyerValeurCorrecte("truk_couverture_vie");
  | 
        
        
            | 
            | 
           270 | 
           	}
  | 
        
        
            | 
            | 
           271 | 
           	public void setCouvertureVie(String couvertureVie) {
  | 
        
        
            | 
            | 
           272 | 
           		this.set("truk_couverture_Vie", couvertureVie);
  | 
        
        
            | 
            | 
           273 | 
           	}
  | 
        
        
            | 
            | 
           274 | 
              | 
        
        
            | 
            | 
           275 | 
           	// CONSERVATION STATUT
  | 
        
        
            | 
            | 
           276 | 
           	public String getConservationStatut() {
  | 
        
        
            | 
            | 
           277 | 
           		return renvoyerValeurCorrecte("truk_conservation_statut");
  | 
        
        
            | 
            | 
           278 | 
           	}
  | 
        
        
            | 
            | 
           279 | 
           	public void setConservationStatut(String conservationStatut) {
  | 
        
        
            | 
            | 
           280 | 
           		this.set("truk_conservation_statut", conservationStatut);
  | 
        
        
            | 
            | 
           281 | 
           	}
  | 
        
        
            | 
            | 
           282 | 
              | 
        
        
            | 
            | 
           283 | 
           	// PRESERVATION
  | 
        
        
            | 
            | 
           284 | 
           	public String getPreservation() {
  | 
        
        
            | 
            | 
           285 | 
           		return renvoyerValeurCorrecte("truk_preservation");
  | 
        
        
            | 
            | 
           286 | 
           	}
  | 
        
        
            | 
            | 
           287 | 
           	public void setPreservation(String preservation) {
  | 
        
        
            | 
            | 
           288 | 
           		this.set("truk_preservation", preservation);
  | 
        
        
            | 
            | 
           289 | 
           	}
  | 
        
        
            | 
            | 
           290 | 
              | 
        
        
            | 
            | 
           291 | 
           	// DEVELOPPEMENT
  | 
        
        
            | 
            | 
           292 | 
           	public String getDeveloppement() {
  | 
        
        
            | 
            | 
           293 | 
           		return renvoyerValeurCorrecte("ce_developpement");
  | 
        
        
            | 
            | 
           294 | 
           	}
  | 
        
        
            | 
            | 
           295 | 
           	public void setDeveloppement(String developpement) {
  | 
        
        
            | 
            | 
           296 | 
           		this.set("ce_developpement", developpement);
  | 
        
        
            | 
            | 
           297 | 
           	}
  | 
        
        
            | 
            | 
           298 | 
              | 
        
        
            | 
            | 
           299 | 
           	// PERIODE CONSTITUTION
  | 
        
        
           | 1925 | 
           delphine | 
           300 | 
           	public String getPeriodeConstitutionDebut() {
  | 
        
        
            | 
            | 
           301 | 
           		return renvoyerValeurCorrecte("periode_constitution_debut");
  | 
        
        
           | 869 | 
           jpm | 
           302 | 
           	}
  | 
        
        
           | 1935 | 
           mathias | 
           303 | 
           	public void setPeriodeConstitutionDebut(String periodeConstitution) {
  | 
        
        
            | 
            | 
           304 | 
           		if (periodeConstitution == null || periodeConstitution.equals("Année")) {
  | 
        
        
            | 
            | 
           305 | 
           			periodeConstitution = "";
  | 
        
        
            | 
            | 
           306 | 
           		}
  | 
        
        
            | 
            | 
           307 | 
           		this.set("periode_constitution_debut", periodeConstitution);
  | 
        
        
           | 869 | 
           jpm | 
           308 | 
           	}
  | 
        
        
            | 
            | 
           309 | 
              | 
        
        
           | 1925 | 
           delphine | 
           310 | 
           	public String getPeriodeConstitutionFin() {
  | 
        
        
            | 
            | 
           311 | 
           		return renvoyerValeurCorrecte("periode_constitution_fin");
  | 
        
        
            | 
            | 
           312 | 
           	}
  | 
        
        
           | 1935 | 
           mathias | 
           313 | 
           	public void setPeriodeConstitutionFin(String periodeConstitution) {
  | 
        
        
            | 
            | 
           314 | 
           		if (periodeConstitution == null || periodeConstitution.equals("Année")) {
  | 
        
        
            | 
            | 
           315 | 
           			periodeConstitution = "";
  | 
        
        
            | 
            | 
           316 | 
           		}
  | 
        
        
            | 
            | 
           317 | 
           		this.set("periode_constitution_fin", periodeConstitution);
  | 
        
        
           | 1925 | 
           delphine | 
           318 | 
           	}
  | 
        
        
            | 
            | 
           319 | 
              | 
        
        
           | 867 | 
           jpm | 
           320 | 
           	// COUVERTURE LIEU
  | 
        
        
            | 
            | 
           321 | 
           	public String getCouvertureLieu() {
  | 
        
        
            | 
            | 
           322 | 
           		return renvoyerValeurCorrecte("truk_couverture_lieu");
  | 
        
        
            | 
            | 
           323 | 
           	}
  | 
        
        
            | 
            | 
           324 | 
           	public void setCouvertureLieu(String couvertureLieu) {
  | 
        
        
            | 
            | 
           325 | 
           		this.set("truk_couverture_lieu", couvertureLieu);
  | 
        
        
            | 
            | 
           326 | 
           	}
  | 
        
        
            | 
            | 
           327 | 
              | 
        
        
           | 869 | 
           jpm | 
           328 | 
           	// COORDONNÉE
  | 
        
        
            | 
            | 
           329 | 
           	public String getCoordonnee() {
  | 
        
        
            | 
            | 
           330 | 
           		return renvoyerValeurCorrecte("truk_coordonnee");
  | 
        
        
            | 
            | 
           331 | 
           	}
  | 
        
        
            | 
            | 
           332 | 
           	public void setCoordonnee(String coordonnee) {
  | 
        
        
            | 
            | 
           333 | 
           		this.set("truk_coordonnee", coordonnee);
  | 
        
        
            | 
            | 
           334 | 
           	}
  | 
        
        
            | 
            | 
           335 | 
              | 
        
        
           | 867 | 
           jpm | 
           336 | 
           	// SPECIMEN TYPE
  | 
        
        
            | 
            | 
           337 | 
           	public String getSpecimenType() {
  | 
        
        
            | 
            | 
           338 | 
           		return renvoyerValeurCorrecte("ce_specimen_type");
  | 
        
        
            | 
            | 
           339 | 
           	}
  | 
        
        
            | 
            | 
           340 | 
           	public void setSpecimenType(String specimenType) {
  | 
        
        
            | 
            | 
           341 | 
           		this.set("ce_specimen_type", specimenType);
  | 
        
        
            | 
            | 
           342 | 
           	}
  | 
        
        
            | 
            | 
           343 | 
              | 
        
        
            | 
            | 
           344 | 
           	// SPECIMEN TYPE NOMBRE
  | 
        
        
            | 
            | 
           345 | 
           	public String getSpecimenTypeNbre() {
  | 
        
        
            | 
            | 
           346 | 
           		return renvoyerValeurCorrecte("specimen_type_nbre");
  | 
        
        
            | 
            | 
           347 | 
           	}
  | 
        
        
            | 
            | 
           348 | 
           	public void setSpecimenTypeNbre(String specimenTypeNbre) {
  | 
        
        
            | 
            | 
           349 | 
           		this.set("specimen_type_nbre", specimenTypeNbre);
  | 
        
        
            | 
            | 
           350 | 
           	}
  | 
        
        
            | 
            | 
           351 | 
              | 
        
        
            | 
            | 
           352 | 
           	// SPECIMEN TYPE NOMBRE PRECISION
  | 
        
        
            | 
            | 
           353 | 
           	public String getSpecimenTypeNbrePrecision() {
  | 
        
        
            | 
            | 
           354 | 
           		return renvoyerValeurCorrecte("ce_specimen_type_nbre_precision");
  | 
        
        
            | 
            | 
           355 | 
           	}
  | 
        
        
            | 
            | 
           356 | 
           	public void setSpecimenTypeNbrePrecision(String specimenTypeNbrePrecision) {
  | 
        
        
            | 
            | 
           357 | 
           		this.set("ce_specimen_type_nbre_precision", specimenTypeNbrePrecision);
  | 
        
        
            | 
            | 
           358 | 
           	}
  | 
        
        
            | 
            | 
           359 | 
              | 
        
        
            | 
            | 
           360 | 
           	// SPECIMEN TYPE CLASSEMENT
  | 
        
        
            | 
            | 
           361 | 
           	public String getSpecimenTypeClassement() {
  | 
        
        
            | 
            | 
           362 | 
           		return renvoyerValeurCorrecte("ce_specimen_type_classement");
  | 
        
        
            | 
            | 
           363 | 
           	}
  | 
        
        
            | 
            | 
           364 | 
           	public void setSpecimenTypeClassement(String specimenTypeClassement) {
  | 
        
        
            | 
            | 
           365 | 
           		this.set("ce_specimen_type_classement", specimenTypeClassement);
  | 
        
        
            | 
            | 
           366 | 
           	}
  | 
        
        
            | 
            | 
           367 | 
              | 
        
        
           | 869 | 
           jpm | 
           368 | 
           	// EXPEDITION NOM
  | 
        
        
            | 
            | 
           369 | 
           	public String getExpeditionNom() {
  | 
        
        
            | 
            | 
           370 | 
           		return renvoyerValeurCorrecte("expedition_nom");
  | 
        
        
            | 
            | 
           371 | 
           	}
  | 
        
        
            | 
            | 
           372 | 
           	public void setExpeditionNom(String expeditionNom) {
  | 
        
        
            | 
            | 
           373 | 
           		this.set("expedition_nom", expeditionNom);
  | 
        
        
            | 
            | 
           374 | 
           	}
  | 
        
        
            | 
            | 
           375 | 
              | 
        
        
            | 
            | 
           376 | 
           	// DIGITAL MEDIUM
  | 
        
        
            | 
            | 
           377 | 
           	public String getDigitalMedium() {
  | 
        
        
            | 
            | 
           378 | 
           		return renvoyerValeurCorrecte("truk_digital_medium");
  | 
        
        
            | 
            | 
           379 | 
           	}
  | 
        
        
            | 
            | 
           380 | 
           	public void setDigitalMedium(String digitalMedium) {
  | 
        
        
            | 
            | 
           381 | 
           		this.set("truk_digital_medium", digitalMedium);
  | 
        
        
            | 
            | 
           382 | 
           	}
  | 
        
        
            | 
            | 
           383 | 
              | 
        
        
            | 
            | 
           384 | 
           	// DIGITAL FORMAT
  | 
        
        
            | 
            | 
           385 | 
           	public String getDigitalFormat() {
  | 
        
        
            | 
            | 
           386 | 
           		return renvoyerValeurCorrecte("truk_digital_format");
  | 
        
        
            | 
            | 
           387 | 
           	}
  | 
        
        
            | 
            | 
           388 | 
           	public void setDigitalFormat(String digitalFormat) {
  | 
        
        
            | 
            | 
           389 | 
           		this.set("truk_digital_format", digitalFormat);
  | 
        
        
            | 
            | 
           390 | 
           	}
  | 
        
        
            | 
            | 
           391 | 
              | 
        
        
            | 
            | 
           392 | 
           	// PUBLIC
  | 
        
        
            | 
            | 
           393 | 
           	public boolean etrePublic() {
  | 
        
        
            | 
            | 
           394 | 
           		String publicMark = getPublic();
  | 
        
        
            | 
            | 
           395 | 
           		boolean estPublic = true;
  | 
        
        
            | 
            | 
           396 | 
           		if (publicMark.equals("0")) {
  | 
        
        
            | 
            | 
           397 | 
           			estPublic = false;
  | 
        
        
            | 
            | 
           398 | 
           		}
  | 
        
        
            | 
            | 
           399 | 
           		return estPublic;
  | 
        
        
            | 
            | 
           400 | 
           	}
  | 
        
        
            | 
            | 
           401 | 
           	public String getPublic() {
  | 
        
        
            | 
            | 
           402 | 
           		return renvoyerValeurCorrecte("mark_public");
  | 
        
        
            | 
            | 
           403 | 
           	}
  | 
        
        
            | 
            | 
           404 | 
           	public void setBoolPublic(String publicBool) {
  | 
        
        
            | 
            | 
           405 | 
           		this.set("mark_public", publicBool);
  | 
        
        
            | 
            | 
           406 | 
           	}
  | 
        
        
            | 
            | 
           407 | 
              | 
        
        
           | 468 | 
           jp_milcent | 
           408 | 
           	// +--------------------------------------------------------------------------------------------------------------+
  | 
        
        
            | 
            | 
           409 | 
           	// STRUCTURE NOM
  | 
        
        
            | 
            | 
           410 | 
           	public String getStructureNom() {
  | 
        
        
           | 1173 | 
           jpm | 
           411 | 
           		return renvoyerValeurCorrecte("_structure_nom_");
  | 
        
        
           | 468 | 
           jp_milcent | 
           412 | 
           	}
  | 
        
        
           | 453 | 
           jp_milcent | 
           413 | 
              | 
        
        
           | 468 | 
           jp_milcent | 
           414 | 
           	// STRUCTURE VILLE
  | 
        
        
            | 
            | 
           415 | 
           	public String getStructureVille() {
  | 
        
        
           | 1173 | 
           jpm | 
           416 | 
           		return renvoyerValeurCorrecte("_structure_ville_");
  | 
        
        
           | 883 | 
           jpm | 
           417 | 
           	}
  | 
        
        
            | 
            | 
           418 | 
           }
  |