Subversion Repositories eFlore/Applications.coel

Rev

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

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