Subversion Repositories eFlore/Applications.coel

Rev

Rev 935 | Rev 1193 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 935 Rev 1173
Line 21... Line 21...
21
	
21
	
22
	private BaseModelData urls = null;
22
	private BaseModelData urls = null;
23
	private StructureAPersonneListe personnel = null;
23
	private StructureAPersonneListe personnel = null;
24
	private StructureValorisation valorisation = null;
24
	private StructureValorisation valorisation = null;
-
 
25
	private StructureConservation conservation = null;
Line 25... Line 26...
25
	private StructureConservation conservation = null;
26
	public static String[] champsObligatoires = {"cs_id_structure", "csc_id_structure", "csv_id_structure"};
26
	
27
	
27
	public Structure() {
28
	public Structure() {
28
		// Constructions du tableau des urls interne
29
		// Constructions du tableau des urls interne
Line 60... Line 61...
60
	@Override
61
	@Override
61
	protected String getPrefixe() {
62
	protected String getPrefixe() {
62
		return PREFIXE;
63
		return PREFIXE;
63
	}
64
	}
Line -... Line 65...
-
 
65
	
-
 
66
	protected String[] getChampsObligatoires()	{
-
 
67
		return champsObligatoires;
-
 
68
	}
64
	
69
	
65
	public String getId() {
70
	public String getId() {
66
		return renvoyerValeurCorrecte("id_structure");
71
		return renvoyerValeurCorrecte("id_structure");
67
	}
72
	}
68
	public void setId(String idStructure) {
73
	public void setId(String idStructure) {
Line 109... Line 114...
109
	}
114
	}
Line 110... Line 115...
110
	
115
	
111
	public String getDescription() {
116
	public String getDescription() {
112
		return renvoyerValeurCorrecte("description");
117
		return renvoyerValeurCorrecte("description");
-
 
118
	}
-
 
119
	public void setDescription(String description) {
-
 
120
		this.set("description", description);
Line 113... Line 121...
113
	}
121
	}
114
	
122
	
115
	public String getType() {
123
	public String getType() {
116
		return renvoyerValeurCorrecte("ce_type");
124
		return renvoyerValeurCorrecte("ce_type");
Line 141... Line 149...
141
	}
149
	}
Line 142... Line 150...
142
	
150
	
143
	public String getAdresseComplement() {
151
	public String getAdresseComplement() {
144
		return renvoyerValeurCorrecte("adresse_02");
152
		return renvoyerValeurCorrecte("adresse_02");
-
 
153
	}
-
 
154
	public void setAdresseComplement(String adr) {
-
 
155
		this.set("adresse_02", adr);
Line 145... Line 156...
145
	}
156
	}
146
 
157
 
147
	public String getDateFondationFormatMysql() {
158
	public String getDateFondationFormatMysql() {
148
		return renvoyerValeurCorrecte("date_fondation");
159
		return renvoyerValeurCorrecte("date_fondation");
Line 203... Line 214...
203
	}
214
	}
Line 204... Line 215...
204
	
215
	
205
	public String getLatitude() {
216
	public String getLatitude() {
206
		return renvoyerValeurCorrecte("latitude");
217
		return renvoyerValeurCorrecte("latitude");
-
 
218
	}
-
 
219
	public void setLatitude(String latitude) {
-
 
220
		latitude = latitude.replace(".", ",");
-
 
221
		this.set("latitude", latitude);
Line 207... Line 222...
207
	}
222
	}
208
 
223
 
209
	public String getLongitude() {
224
	public String getLongitude() {
-
 
225
		return renvoyerValeurCorrecte("longitude");
-
 
226
	}
-
 
227
	public void setLongitude(String longitude) {
-
 
228
		longitude = longitude.replace(".", ",");
Line 210... Line 229...
210
		return renvoyerValeurCorrecte("longitude");
229
		this.set("longitude", longitude);
211
	}
230
	}
212
	
231
	
213
	// TELEPHONE
232
	// TELEPHONE
Line 289... Line 308...
289
	}
308
	}
Line 290... Line 309...
290
	
309
	
291
	public String getConditionAcces() {
310
	public String getConditionAcces() {
292
		return renvoyerValeurCorrecte("condition_acces");
311
		return renvoyerValeurCorrecte("condition_acces");
-
 
312
	}
-
 
313
	public void setConditionAcces(String acces) {
-
 
314
		this.set("condition_acces", acces);
Line 293... Line 315...
293
	}
315
	}
294
 
316
 
295
	public String getConditionUsage() {
317
	public String getConditionUsage() {
-
 
318
		return renvoyerValeurCorrecte("condition_usage");
-
 
319
	}
-
 
320
	public void setConditionUsage(String usage) {
Line 296... Line 321...
296
		return renvoyerValeurCorrecte("condition_usage");
321
		this.set("condition_usage", usage);
297
	}
322
	}
298
	
323
	
299
	public StructureAPersonneListe getPersonnel() {
324
	public StructureAPersonneListe getPersonnel() {