Line | |
---|
1 | package nanolog;
|
---|
2 |
|
---|
3 | import java.util.Date;
|
---|
4 | import org.openstreetmap.josm.data.coor.LatLon;
|
---|
5 |
|
---|
6 | /**
|
---|
7 | * This holds one NanoLog entry.
|
---|
8 | *
|
---|
9 | * @author zverik
|
---|
10 | */
|
---|
11 | public class NanoLogEntry {
|
---|
12 | private LatLon pos;
|
---|
13 | private Date time;
|
---|
14 | private String message;
|
---|
15 | private int direction;
|
---|
16 | private LatLon tmpPos;
|
---|
17 |
|
---|
18 | public int getDirection() {
|
---|
19 | return direction;
|
---|
20 | }
|
---|
21 |
|
---|
22 | public String getMessage() {
|
---|
23 | return message;
|
---|
24 | }
|
---|
25 |
|
---|
26 | public LatLon getPos() {
|
---|
27 | return tmpPos == null ? pos : tmpPos;
|
---|
28 | }
|
---|
29 |
|
---|
30 | public Date getTime() {
|
---|
31 | return time;
|
---|
32 | }
|
---|
33 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.