Subversion Repositories eFlore/Applications.coel

Rev

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

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