source: osm/applications/editors/josm/plugins/NanoLog/src/nanolog/NanoLogEntry.java@ 27939

Last change on this file since 27939 was 27939, checked in by zverik, 13 years ago

NanoLog plugin

File size: 579 bytes
Line 
1package nanolog;
2
3import java.util.Date;
4import org.openstreetmap.josm.data.coor.LatLon;
5
6/**
7 * This holds one NanoLog entry.
8 *
9 * @author zverik
10 */
11public 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.