Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 119 Rev 156
Line 1... Line 1...
1
package org.tela_botanica.client.modeles;
1
package org.tela_botanica.client.modeles;
Line -... Line 2...
-
 
2
 
2
 
3
import java.util.Date;
3
import java.util.Iterator;
4
import java.util.Iterator;
Line -... Line 5...
-
 
5
import java.util.Set;
4
import java.util.Set;
6
 
Line 5... Line 7...
5
 
7
import com.google.gwt.i18n.client.DateTimeFormat;
Line 6... Line 8...
6
import com.google.gwt.json.client.JSONObject;
8
import com.google.gwt.json.client.JSONObject;
Line 123... Line 125...
123
	
125
	
124
	public String getAdresseComplement() {
126
	public String getAdresseComplement() {
125
		return (String) renvoyerValeurCorrecte("adresse_02");
127
		return (String) renvoyerValeurCorrecte("adresse_02");
Line 126... Line 128...
126
	}
128
	}
127
 
129
 
-
 
130
	public Date getDateFondation() {
-
 
131
		return DateTimeFormat.getFormat("yyyy-MM-dd HH:mm:ss").parse((String) renvoyerValeurCorrecte("date_fondation"));
-
 
132
	}
-
 
133
	public void setDateFondation(Date dateFondation) {
-
 
134
		if (dateFondation != null) {
-
 
135
			DateTimeFormat.getFormat("yyyy-MM-dd HH:mm:ss").format(dateFondation);
128
	public String getDateFondation() {
136
			this.set("date_fondation", dateFondation.toString());
129
		return (String) renvoyerValeurCorrecte("date_fondation");
137
		}
-
 
138
	}
130
	}
139
	public void setDateFondation(String dateFondation) {
-
 
140
		if (dateFondation != null) {
131
	public void setDateFondation(String dateFondation) {
141
			this.set("date_fondation", dateFondation);
132
		this.set("date_fondation", dateFondation);
142
		}
133
	}
143
	}
134
	
144
		
135
	public String getCodePostal() {
145
	public String getCodePostal() {
136
		return (String) renvoyerValeurCorrecte("code_postal");
146
		return (String) renvoyerValeurCorrecte("code_postal");
137
	}
147
	}