Changeset 29384 in osm for applications/editors/josm/plugins/imagery_offset_db/src/iodb/ImageryOffsetBase.java
- Timestamp:
- 2013-03-22T22:18:26+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagery_offset_db/src/iodb/ImageryOffsetBase.java
r29376 r29384 7 7 8 8 /** 9 * Stores one imagery offset record. 9 * Stores one offset record. It is the superclass for {@link ImageryOffset} 10 * and {@link CalibrationObject} classes and contains common fields 11 * like position, author and description. 10 12 * 11 * @author zverik 13 * @author Zverik 14 * @license WTFPL 12 15 */ 13 16 public class ImageryOffsetBase { … … 21 24 protected String abandonReason; 22 25 26 /** 27 * Initialize object with the basic information. It's offset location, author, date 28 * and description. 29 */ 23 30 public void setBasicInfo( LatLon position, String author, String description, Date date ) { 24 31 this.position = position; … … 37 44 } 38 45 46 /** 47 * Mark the offset as deprecated. Though there is no exact field for "isDeprecated", 48 * it is deduced from abandonDate, author and reason being not null. 49 */ 39 50 public void setDeprecated(Date abandonDate, String author, String reason) { 40 51 this.abandonDate = abandonDate; … … 55 66 } 56 67 68 /** 69 * Check that {@link #getAbandonDate()} is not null. Note that 70 * is doesn't say anything about abandonAuthor or abandonReason. 71 */ 57 72 public boolean isDeprecated() { 58 73 return abandonDate != null;
Note:
See TracChangeset
for help on using the changeset viewer.
