Subversion Repositories eFlore/Applications.coel

Rev

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

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