Subversion Repositories eFlore/Applications.cel

Rev

Rev 989 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
989 aurelien 1
package org.tela_botanica.client.modeles.objets;
65 david 2
 
3
/**
4
 *
965 aurelien 5
 * Classe representant une idZoneGeo geographique (localite, zoneGeo, lieu dit) presente dans la liste des observations
65 david 6
 *
7
 */
8
 
9
public class EntiteGeographiqueObservation {
10
 
965 aurelien 11
	private String idZoneGeo=null;
12
	private String zoneGeo=null;
257 aurelien 13
	private String lieuDit=null;
14
	private String station=null;
252 aurelien 15
	private String lat=null;
16
	private String lon=null;
2553 mathias 17
	private int zoom = 0; // si zoom <= 0, on l'ignore lors du rafraîchissement
72 david 18
 
65 david 19
	public EntiteGeographiqueObservation() {
20
	}
21
 
22
	/**
965 aurelien 23
	 * @param zoneGeo
65 david 24
	 * @param departement
25
	 */
2553 mathias 26
 
27
	public EntiteGeographiqueObservation(String idZoneGeo, String zoneGeo, String lieuDit, String station, int zoom) {
28
		this(idZoneGeo, zoneGeo, lieuDit, station);
29
		this.zoom = zoom;
30
	}
31
 
965 aurelien 32
	public EntiteGeographiqueObservation(String idZoneGeo, String zoneGeo, String lieuDit, String station) {
33
		this.idZoneGeo = idZoneGeo;
34
		this.zoneGeo = zoneGeo;
257 aurelien 35
		this.lieuDit = lieuDit;
36
		this.station = station;
65 david 37
	}
2553 mathias 38
 
252 aurelien 39
	public void setLat(String la) {
40
		lat = la;
41
	}
2553 mathias 42
 
252 aurelien 43
	public void setLon(String lo) {
44
		lon = lo;
45
	}
65 david 46
 
2553 mathias 47
	public void setZoom(int zoom) {
48
		this.zoom = zoom;
49
	}
50
 
252 aurelien 51
	public String getLat() {
52
		return lat;
53
	}
54
 
55
	public String getLon() {
56
		return lon;
57
	}
65 david 58
 
965 aurelien 59
	public String getIdZoneGeo() {
60
		return idZoneGeo;
65 david 61
	}
62
 
63
 
965 aurelien 64
	public String getZoneGeo() {
65
		return zoneGeo;
65 david 66
	}
67
 
68
 
89 jpm 69
	public String getLieuDit() {
257 aurelien 70
		return lieuDit;
72 david 71
	}
257 aurelien 72
 
73
	public String getStation() {
74
		return station;
75
	}
2553 mathias 76
 
77
	public int getZoom() {
78
		return zoom;
79
	}
65 david 80
}