source: osm/applications/editors/josm/plugins/imagery_offset_db/src/iodb/ImageryOffsetBase.java@ 27986

Last change on this file since 27986 was 27986, checked in by zverik, 12 years ago

imagery_offset_db initial commit

File size: 1.1 KB
Line 
1package iodb;
2
3import java.util.Date;
4import org.openstreetmap.josm.data.coor.LatLon;
5
6/**
7 * Stores one imagery offset record.
8 *
9 * @author zverik
10 */
11public class ImageryOffsetBase {
12 private LatLon position;
13 private Date date;
14 private String author;
15 private String description;
16 private Date abandonDate;
17
18 public void setBasicInfo( LatLon position, String author, String description, Date date ) {
19 this.position = position;
20 this.author = author;
21 this.description = description;
22 this.date = date;
23 this.abandonDate = null;
24 }
25
26 public void setAbandonDate(Date abandonDate) {
27 this.abandonDate = abandonDate;
28 }
29
30 public Date getAbandonDate() {
31 return abandonDate;
32 }
33
34 public boolean isAbandoned() {
35 return abandonDate != null;
36 }
37
38 public String getAuthor() {
39 return author;
40 }
41
42 public Date getDate() {
43 return date;
44 }
45
46 public String getDescription() {
47 return description;
48 }
49
50 public LatLon getPosition() {
51 return position;
52 }
53}
Note: See TracBrowser for help on using the repository browser.