blob: be0281262eddeef9569b456e0bbfa6e8d071aea8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
package org.marcinzelent.liberavem;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
public class Observation implements Serializable {
@SerializedName("Id")
private int id;
@SerializedName("Created")
private String created;
@SerializedName("Latitude")
private double latitude;
@SerializedName("Longitude")
private double longitude;
@SerializedName("Placename")
private String placeName;
@SerializedName("Comment")
private String comment;
@SerializedName("UserId")
private String userId;
@SerializedName("BirdId")
private int birdId;
@SerializedName("NameEnglish")
private String nameEnglish;
@SerializedName("NameDanish")
private String nameDanish;
@SerializedName("Population")
private int population;
public Observation(int id, String created, double latitude, double longitude, String placeName,
String comment, String userId, int birdId, String nameEnglish,
String nameDanish, int population) {
this.id = id;
this.created = created;
this.latitude = latitude;
this.longitude = longitude;
this.placeName = placeName;
this.comment = comment;
this.userId = userId;
this.birdId = birdId;
this.nameEnglish = nameEnglish;
this.nameDanish = nameDanish;
this.population = population;
}
public int getId() {
return id;
}
public String getCreated() {
return created;
}
public void setCreated(String created) {
this.created = created;
}
public double getLatitude() {
return latitude;
}
public double getLongitude() {
return longitude;
}
public String getPlaceName() {
return placeName;
}
public String getComment() {
return comment;
}
public String getUserId() {
return userId;
}
public int getBirdId() {
return birdId;
}
public String getNameEnglish() {
return nameEnglish;
}
public String getNameDanish() {
return nameDanish;
}
public int getPopulation() {
return population;
}
}
|