Subversion Repositories eFlore/Applications.coel

Rev

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

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