Subversion Repositories eFlore/Applications.coel

Rev

Rev 1150 | Rev 1219 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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