Subversion Repositories eFlore/Applications.coel

Rev

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

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