Subversion Repositories eFlore/Applications.coel

Rev

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

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