Subversion Repositories eFlore/Applications.coel

Rev

Rev 1329 | Rev 1415 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

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