]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.gis/src/main/java/org/argeo/slc/gis/model/FieldPosition.java
GisFieldViewer before leaving to field trip
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.gis / src / main / java / org / argeo / slc / gis / model / FieldPosition.java
1 package org.argeo.slc.gis.model;
2
3 import java.util.Date;
4
5 import com.vividsolutions.jts.geom.Point;
6
7 public class FieldPosition {
8 private Point location;
9 private Date timestamp;
10 private String comment;
11
12 public FieldPosition() {
13 }
14
15 public FieldPosition(Point location) {
16 this.location = location;
17 this.timestamp = new Date();
18 }
19
20 public FieldPosition(Point location, Date timestamp, String comment) {
21 this.location = location;
22 this.timestamp = timestamp;
23 this.comment = comment;
24 }
25
26 public Point getLocation() {
27 return location;
28 }
29
30 public void setLocation(Point location) {
31 this.location = location;
32 }
33
34 public Date getTimestamp() {
35 return timestamp;
36 }
37
38 public void setTimestamp(Date timestamp) {
39 this.timestamp = timestamp;
40 }
41
42 public String getComment() {
43 return comment;
44 }
45
46 public void setComment(String comment) {
47 this.comment = comment;
48 }
49
50 }