Changeset 29371 in osm for applications/editors/josm/plugins/imagery_offset_db/src/iodb/ImageryOffsetBase.java
- Timestamp:
- 2013-03-18T21:58:17+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagery_offset_db/src/iodb/ImageryOffsetBase.java
r28008 r29371 12 12 */ 13 13 public class ImageryOffsetBase { 14 private LatLon position; 15 private Date date; 16 private String author; 17 private String description; 18 private Date abandonDate; 14 protected long offsetId; 15 protected LatLon position; 16 protected Date date; 17 protected String author; 18 protected String description; 19 protected Date abandonDate; 20 protected String abandonAuthor; 21 protected String abandonReason; 19 22 20 23 public void setBasicInfo( LatLon position, String author, String description, Date date ) { … … 26 29 } 27 30 31 public void setId( long id ) { 32 this.offsetId = id; 33 } 34 35 public long getId() { 36 return offsetId; 37 } 38 28 39 public void setAbandonDate(Date abandonDate) { 29 40 this.abandonDate = abandonDate; … … 33 44 return abandonDate; 34 45 } 46 47 public String getAbandonAuthor() { 48 return abandonAuthor; 49 } 50 51 public String getAbandonReason() { 52 return abandonReason; 53 } 35 54 36 public boolean is Abandoned() {55 public boolean isDeprecated() { 37 56 return abandonDate != null; 38 57 } … … 50 69 } 51 70 71 public void setDescription( String description ) { 72 this.description = description; 73 } 74 52 75 public LatLon getPosition() { 53 76 return position; … … 60 83 map.put("description", description); 61 84 } 85 86 @Override 87 public String toString() { 88 return "ImageryOffsetBase{" + "position=" + position + ", date=" + date + ", author=" + author + ", description=" + description + ", abandonDate=" + abandonDate + '}'; 89 } 62 90 }
Note:
See TracChangeset
for help on using the changeset viewer.