Changeset 23 in josm for src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
- Timestamp:
- 2005-10-27T00:38:03+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r22 r23 1 1 package org.openstreetmap.josm.data.osm; 2 2 3 import java.util.Collection;4 3 import java.util.Map; 5 4 … … 20 19 */ 21 20 public Map<Key, String> keys; 22 21 22 /** 23 * Unique identifier in OSM. This is used to reidentify objects in the server. 24 * An id of 0 means an unknown id. The object has not been uploaded yet to 25 * know what id it will get. 26 */ 27 public long id = 0; 28 23 29 /** 24 30 * If set to true, this object has been modified in the current session. … … 30 36 */ 31 37 transient private boolean selected = false; 32 33 /**34 * Return a list of all nodes, this osmPrimitive consists of. Does return35 * an empty list, if it is an primitive that cannot have nodes (e.g. Key)36 * TODO replace with visitor37 */38 abstract public Collection<Node> getAllNodes();39 38 40 39 /**
Note:
See TracChangeset
for help on using the changeset viewer.