source: josm/trunk/src/org/openstreetmap/josm/data/osm/history/HistoryNode.java@ 1670

Last change on this file since 1670 was 1670, checked in by Gubaer, 15 years ago

fixed: bug in OsmApi.getOsmApi()
cleanup: exception handling in interfacing with OSM API
new: new action for updating individual elements with the their current state on the server (including new menu item in the file menu)
new: improved user feedback in case of conflicts
new: handles 410 Gone conflicts when uploading a changeset
new: undoable command for "purging" a primitive from the current dataset (necessary if the primitive is already deleted on the server and the user wants to remove it from its local dataset)
new: undoable command for "undeleting" an already deleted primitive on the server (kind of "cloning")
new: after a full upload, checks whether there are primitives in the local dataset which might be deleted on the server.
new: data structures for history data
new: history download support in io package

File size: 659 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.data.osm.history;
3
4import java.util.Date;
5
6import org.openstreetmap.josm.data.osm.OsmPrimitiveType;
7
8
9/**
10 * Represents an immutable OSM node in the context of a historical view on
11 * OSM data.
12 *
13 */
14public class HistoryNode extends HistoryOsmPrimitive {
15 public HistoryNode(long id, long version, boolean visible, String user, long uid, long changesetId, Date timestamp) {
16 super(id, version, visible, user, uid, changesetId, timestamp);
17 }
18
19 @Override
20 public OsmPrimitiveType getType() {
21 return OsmPrimitiveType.NODE;
22 }
23}
Note: See TracBrowser for help on using the repository browser.