Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 392 Rev 602
Line 59... Line 59...
59
			}
59
			}
60
		}
60
		}
61
	}
61
	}
Line 62... Line 62...
62
	
62
	
63
	public String getId() {
63
	public String getId() {
64
		return (String) renvoyerValeurCorrecte("id_structure");
64
		return renvoyerValeurCorrecte("id_structure");
65
	}
65
	}
66
	public void setId(String idStructure) {
66
	public void setId(String idStructure) {
67
		this.set("id_structure", idStructure);
67
		this.set("id_structure", idStructure);
Line 68... Line 68...
68
	}
68
	}
69
	
69
	
70
	public String getIdProjet() {
70
	public String getIdProjet() {
71
		return (String) renvoyerValeurCorrecte("ce_projet");
71
		return renvoyerValeurCorrecte("ce_projet");
72
	}
72
	}
73
	public void setIdProjet(String idProjet) {
73
	public void setIdProjet(String idProjet) {
Line 74... Line 74...
74
		this.set("ce_projet", idProjet);
74
		this.set("ce_projet", idProjet);
75
	}
75
	}
76
	
76
	
77
	public String getIdMere() {
77
	public String getIdMere() {
78
		return (String) renvoyerValeurCorrecte("ce_mere");
78
		return renvoyerValeurCorrecte("ce_mere");
79
	}
79
	}
Line 80... Line 80...
80
	public void setIdMere(String idMere) {
80
	public void setIdMere(String idMere) {
81
		this.set("ce_mere", idMere);
81
		this.set("ce_mere", idMere);
82
	}
82
	}
83
	
83
	
84
	public String getGuid() {
84
	public String getGuid() {
85
		return (String) renvoyerValeurCorrecte("guid");
85
		return renvoyerValeurCorrecte("guid");
Line 86... Line 86...
86
	}
86
	}
87
	public void setGuid(String guid) {
87
	public void setGuid(String guid) {
88
		this.set("guid", guid);
88
		this.set("guid", guid);
89
	}
89
	}
90
	
90
	
91
	public String getIdAlternatif() {
91
	public String getIdAlternatif() {
Line 92... Line 92...
92
		return (String) renvoyerValeurCorrecte("truk_identifiant_alternatif");
92
		return renvoyerValeurCorrecte("truk_identifiant_alternatif");
93
	}
93
	}
94
	public void setIdAlternatif(String idAlter) {
94
	public void setIdAlternatif(String idAlter) {
95
		this.set("truk_identifiant_alternatif", idAlter);
95
		this.set("truk_identifiant_alternatif", idAlter);
96
	}
96
	}
97
	
97
	
Line 98... Line 98...
98
	public String getNom() {
98
	public String getNom() {
99
		return (String) renvoyerValeurCorrecte("nom");
99
		return renvoyerValeurCorrecte("nom");
100
	}
100
	}
Line 101... Line 101...
101
	public void setNom(String nom) {
101
	public void setNom(String nom) {
102
		this.set("nom", nom);
102
		this.set("nom", nom);
103
	}
103
	}
Line 104... Line 104...
104
	
104
	
105
	public String getNomAlternatif() {
105
	public String getNomAlternatif() {
106
		return (String) renvoyerValeurCorrecte("truk_nom_alternatif");
106
		return renvoyerValeurCorrecte("truk_nom_alternatif");
107
	}
107
	}
108
	
108
	
109
	public String getDescription() {
109
	public String getDescription() {
Line 110... Line 110...
110
		return (String) renvoyerValeurCorrecte("description");
110
		return renvoyerValeurCorrecte("description");
111
	}
111
	}
112
	
112
	
113
	public String getType() {
113
	public String getType() {
114
		return (String) renvoyerValeurCorrecte("ce_type");
114
		return renvoyerValeurCorrecte("ce_type");
115
	}
115
	}
Line 116... Line 116...
116
	public void setType(String type) {
116
	public void setType(String type) {
117
		this.set("ce_type", type);
117
		this.set("ce_type", type);
118
	}
118
	}
119
	
119
	
120
	public String getTypePrive() {
120
	public String getTypePrive() {
121
		return (String) renvoyerValeurCorrecte("ce_truk_type_prive");
121
		return renvoyerValeurCorrecte("ce_truk_type_prive");
Line 137... Line 137...
137
	public void setAdresse(String adr) {
137
	public void setAdresse(String adr) {
138
		this.set("adresse_01", adr);
138
		this.set("adresse_01", adr);
139
	}
139
	}
Line 140... Line 140...
140
	
140
	
141
	public String getAdresseComplement() {
141
	public String getAdresseComplement() {
142
		return (String) renvoyerValeurCorrecte("adresse_02");
142
		return renvoyerValeurCorrecte("adresse_02");
Line 143... Line 143...
143
	}
143
	}
144
 
144
 
145
	public String getDateFondationFormatMysql() {
145
	public String getDateFondationFormatMysql() {
146
		return (String) renvoyerValeurCorrecte("date_fondation");
146
		return renvoyerValeurCorrecte("date_fondation");
147
	}
147
	}
148
	public String getDateFondationFormatLong() {
148
	public String getDateFondationFormatLong() {
149
		String dateFormatee = "";
149
		String dateFormatee = "";
Line 153... Line 153...
153
		}
153
		}
154
		return dateFormatee;
154
		return dateFormatee;
155
	}
155
	}
156
	public Date getDateFondation() {
156
	public Date getDateFondation() {
157
		Date fondationDate = null;
157
		Date fondationDate = null;
158
		String fondationChaine = (String) renvoyerValeurCorrecte("date_fondation");
158
		String fondationChaine = renvoyerValeurCorrecte("date_fondation");
159
		if (!fondationChaine.isEmpty() && !fondationChaine.equals("0000-00-00")) {
159
		if (!fondationChaine.isEmpty() && !fondationChaine.equals("0000-00-00")) {
160
			fondationDate = DateTimeFormat.getFormat("yyyy-MM-dd").parseStrict(fondationChaine);
160
			fondationDate = DateTimeFormat.getFormat("yyyy-MM-dd").parseStrict(fondationChaine);
161
		}
161
		}
162
		return fondationDate;
162
		return fondationDate;
163
	}
163
	}
Line 171... Line 171...
171
			this.set("date_fondation", dateFondation);
171
			this.set("date_fondation", dateFondation);
172
		}
172
		}
173
	}
173
	}
Line 174... Line 174...
174
		
174
		
175
	public String getCodePostal() {
175
	public String getCodePostal() {
176
		return (String) renvoyerValeurCorrecte("code_postal");
176
		return renvoyerValeurCorrecte("code_postal");
177
	}
177
	}
178
	public void setCodePostal(String codePostal) {
178
	public void setCodePostal(String codePostal) {
179
		this.set("code_postal", codePostal);
179
		this.set("code_postal", codePostal);
Line 180... Line 180...
180
	}
180
	}
181
	
181
	
182
	public String getVille() {
182
	public String getVille() {
183
		return (String) renvoyerValeurCorrecte("ville");
183
		return renvoyerValeurCorrecte("ville");
184
	}
184
	}
185
	public void setVille(String ville) {
185
	public void setVille(String ville) {
Line 186... Line 186...
186
		this.set("ville", ville);
186
		this.set("ville", ville);
187
	}
187
	}
188
	
188
	
189
	public String getRegion() {
189
	public String getRegion() {
190
		return (String) renvoyerValeurCorrecte("region");
190
		return getChaineDenormaliseUnique("ce_truk_region");
191
	}
191
	}
Line 192... Line 192...
192
	public void setRegion(String region) {
192
	public void setRegion(String region) {
193
		this.set("region", region);
193
		this.set("ce_truk_region", region);
194
	}
194
	}
195
	
195
	
196
	public String getPays() {
196
	public String getPays() {
197
		return (String) renvoyerValeurCorrecte("pays");
197
		return getChaineDenormaliseUnique("ce_truk_pays");
Line 198... Line 198...
198
	}
198
	}
199
	public void setPays(String pays) {
199
	public void setPays(String pays) {
200
		this.set("pays", pays);
200
		this.set("ce_truk_pays", pays);
Line 201... Line 201...
201
	}
201
	}
202
	
202
	
203
	public String getLatitude() {
203
	public String getLatitude() {
Line -... Line 204...
-
 
204
		return renvoyerValeurCorrecte("latitude");
204
		return (String) renvoyerValeurCorrecte("latitude");
205
	}
205
	}
206
 
206
 
207
	public String getLongitude() {
207
	public String getLongitude() {
208
		return renvoyerValeurCorrecte("longitude");
208
		return (String) renvoyerValeurCorrecte("longitude");
209
	}
209
	}
210
	
Line -... Line 211...
-
 
211
	// TELEPHONE
-
 
212
	public String getTelephone() {
-
 
213
		return renvoyerValeurCorrecte("truk_telephone");
-
 
214
	}
-
 
215
	public void setTelephone(String tel) {
-
 
216
		this.set("truk_telephone", tel);
-
 
217
	}
-
 
218
	
-
 
219
	// TELEPHONE FIXE
210
	
220
	public String getTelephoneFixe() {
211
	public String getTelephone() {
221
		return getInfoDenormaliseParType(renvoyerValeurCorrecte("truk_telephone"), Personne.TELEPHONE_FIXE);
212
		return (String) renvoyerValeurCorrecte("telephone");
222
	}
213
	}
223
	public void setTelephoneFixe(String fixe) {
214
	public void setTelephone(String tel) {
224
		modifierChaineDenormaliseParType("truk_telephone", Personne.TELEPHONE_FIXE, fixe);
215
		this.set("telephone", tel);
225
	}
Line -... Line 226...
-
 
226
	
216
	}
227
	//TELEPHONE FAX
217
	
228
	public String getFax() {
218
	public String getFax() {
229
		return getInfoDenormaliseParType(renvoyerValeurCorrecte("truk_telephone"), Personne.TELEPHONE_FAX);
219
		return (String) renvoyerValeurCorrecte("fax");
230
	}
220
	}
231
	public void setFax(String fax) {
221
	public void setFax(String fax) {
232
		modifierChaineDenormaliseParType("truk_telephone", Personne.TELEPHONE_FAX, fax);
Line -... Line 233...
-
 
233
	}
222
		this.set("fax", fax);
234
	
223
	}
235
	// COURRIEL
224
	
236
	public String getCourriel() {
225
	public String getCourriel() {
237
		return renvoyerValeurCorrecte("courriel");
226
		return (String) renvoyerValeurCorrecte("courriel");
238
	}
Line 273... Line 285...
273
	public void setNbrePersonne(int nbrePersonne) {
285
	public void setNbrePersonne(int nbrePersonne) {
274
		this.set("nbre_personne", Integer.toString(nbrePersonne));
286
		this.set("nbre_personne", Integer.toString(nbrePersonne));
275
	}
287
	}
Line 276... Line 288...
276
	
288
	
277
	public String getConditionAcces() {
289
	public String getConditionAcces() {
278
		return (String) renvoyerValeurCorrecte("condition_acces");
290
		return renvoyerValeurCorrecte("condition_acces");
Line 279... Line 291...
279
	}
291
	}
280
 
292
 
281
	public String getConditionUsage() {
293
	public String getConditionUsage() {
Line 282... Line 294...
282
		return (String) renvoyerValeurCorrecte("condition_usage");
294
		return renvoyerValeurCorrecte("condition_usage");
283
	}
295
	}
284
	
296