Subversion Repositories eFlore/Applications.coel

Rev

Rev 1327 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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