Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 121 Rev 157
Line 17... Line 17...
17
	private String station=null;
17
	private String station=null;
18
	private String milieu=null;
18
	private String milieu=null;
19
	private String commentaire=null;
19
	private String commentaire=null;
20
	private String date=null;
20
	private String date=null;
21
	private String numeroOrdre=null;
21
	private String numeroOrdre=null;
-
 
22
	private String motsCles=null;
Line 22... Line 23...
22
 
23
 
Line 70... Line 71...
70
	    	this.localite=localite.substring(0,pos);
71
	    	this.localite=localite.substring(0,pos);
71
	    }
72
	    }
72
		else {
73
		else {
73
			 this.localite=localite;
74
			 this.localite=localite;
74
		}
75
		}
-
 
76
	    
-
 
77
	    this.motsCles = "";
-
 
78
		 
-
 
79
		
-
 
80
	}
-
 
81
	
-
 
82
	/**
-
 
83
	 * Une observation telle que stockee dans la base de donnee avec les mots clés
-
 
84
	 * 
-
 
85
	 * @param transmis
-
 
86
	 * @param nomSaisi
-
 
87
	 * @param nomRetenu
-
 
88
	 * @param numeroNomenclaturalSaisi
-
 
89
	 * @param numeroNomenclaturalRetenu
-
 
90
	 * @param numeroTaxonomique
-
 
91
	 * @param famille
-
 
92
	 * @param localite
-
 
93
	 * @param IdentifiantLocalite
-
 
94
	 * @param lieudit
-
 
95
	 * @param station
-
 
96
	 * @param milieu
-
 
97
	 * @param commentaire
-
 
98
	 * @param date
-
 
99
	 * @param numeroOrdre
-
 
100
	 * @param motsCles
-
 
101
	 */
-
 
102
	public Observation(String transmis, String nomSaisi, String nomRetenu, String numeroNomenclaturalSaisi,  String numeroNomenclaturalRetenu, String numeroTaxonomique, String famille, String localite, String identifiantLocalite, String lieudit, String station, String milieu, String commentaire, String date, String numeroOrdre, String motsCles) {
-
 
103
		
-
 
104
		this.transmis = transmis;
-
 
105
		this.nomSaisi = nomSaisi;
-
 
106
		this.nomRetenu = nomRetenu;
-
 
107
		this.numeroNomenclaturalSaisi = numeroNomenclaturalSaisi;
-
 
108
		this.numeroNomenclaturalRetenu = numeroNomenclaturalRetenu;
-
 
109
		this.numeroTaxonomique = numeroTaxonomique;
-
 
110
		this.famille = famille;
-
 
111
		
-
 
112
		this.identifiantLocalite = identifiantLocalite;		
-
 
113
		this.lieudit = lieudit;
-
 
114
		this.station = station;
-
 
115
		this.milieu = milieu;
-
 
116
		this.commentaire = commentaire;
-
 
117
		this.date = date;
-
 
118
		this.numeroOrdre = numeroOrdre;
-
 
119
		
-
 
120
		 // Suppresion indication departementale (on pourrait faire mieux !!)
-
 
121
		int pos=localite.indexOf(" (" );
-
 
122
	    if (pos>=0) {
-
 
123
	    	this.localite=localite.substring(0,pos);
-
 
124
	    }
-
 
125
		else {
-
 
126
			 this.localite=localite;
-
 
127
		}
-
 
128
	    
-
 
129
	    this.motsCles = motsCles;
Line 75... Line 130...
75
		 
130
		 
Line 110... Line 165...
110
	    	this.localite=localite.substring(0,pos);
165
	    	this.localite=localite.substring(0,pos);
111
	    }
166
	    }
112
		else {
167
		else {
113
			 this.localite=localite;
168
			 this.localite=localite;
114
		}
169
		}
-
 
170
	    
-
 
171
	    this.motsCles = "" ;
Line 115... Line 172...
115
		
172
		
Line 116... Line 173...
116
	}
173
	}
Line 188... Line 245...
188
 
245
 
189
	public String getTransmis() {
246
	public String getTransmis() {
190
		return transmis;
247
		return transmis;
Line -... Line 248...
-
 
248
	}
-
 
249
	
-
 
250
	public String getMotsCles() {
-
 
251
		return motsCles;
-
 
252
	}
-
 
253
	
-
 
254
	public void setMotsCles(String motsCles) {
-
 
255
		this.motsCles = motsCles;
191
	}
256
	}
192
	
257
	
193
	public void setNumeroOrdre(String numeroOrdre) {
258
	public void setNumeroOrdre(String numeroOrdre) {