public class NodeData extends PrimitiveData implements INode
AbstractPrimitive.KeyValueVisitor| Modifier and Type | Field and Description |
|---|---|
private double |
lat |
private double |
lon |
changesetId, FLAG_DELETED, FLAG_INCOMPLETE, FLAG_MODIFIED, FLAG_VISIBLE, flags, id, keys, timestamp, user, version| Constructor and Description |
|---|
NodeData()
Constructs a new
NodeData. |
NodeData(NodeData data)
Constructs a new
NodeData. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(PrimitiveVisitor visitor) |
LatLon |
getCoor() |
EastNorth |
getEastNorth() |
OsmPrimitiveType |
getType()
Gets the type of object represented by this object.
|
private boolean |
isLatLonKnown() |
NodeData |
makeCopy() |
void |
setCoor(LatLon coor) |
void |
setEastNorth(EastNorth eastNorth) |
String |
toString() |
getFilteredList, keysChangedImpl, setId, setIncomplete, setVersionclearOsmMetadata, cloneFrom, generateUniqueId, get, getChangesetId, getDisplayType, getFlagsAsString, getId, getIgnoreCase, getKeys, getLocalName, getName, getNumKeys, getPrimitiveId, getRawTimestamp, getTimestamp, getUniqueId, getUser, getVersion, hasKey, hasKeys, hasTag, hasTag, hasTag, isDeleted, isIncomplete, isKeyFalse, isKeyTrue, isModified, isNew, isNewOrUndeleted, isTimestampEmpty, isUndeleted, isUsable, isVisible, keySet, put, remove, removeAll, setChangesetId, setDeleted, setKeys, setModified, setOsmId, setRawTimestamp, setTimestamp, setUser, setVisible, updateFlags, visitKeysclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChangesetId, getId, getLocalName, getName, getPrimitiveId, getRawTimestamp, getTimestamp, getUser, getVersion, isDeleted, isIncomplete, isModified, isNewOrUndeleted, isTimestampEmpty, isVisible, setChangesetId, setDeleted, setModified, setOsmId, setRawTimestamp, setTimestamp, setUser, setVisibleget, getKeys, hasKeys, keySet, put, remove, removeAll, setKeysgetUniqueId, isNewpublic NodeData()
NodeData.private boolean isLatLonKnown()
public EastNorth getEastNorth()
getEastNorth in interface INodepublic void setEastNorth(EastNorth eastNorth)
setEastNorth in interface INodepublic NodeData makeCopy()
makeCopy in class PrimitiveDatapublic String toString()
toString in class PrimitiveDatapublic OsmPrimitiveType getType()
PrimitiveIdgetType in interface PrimitiveIdgetType in class PrimitiveDataNode,
Way,
Relationpublic void accept(PrimitiveVisitor visitor)
accept in interface IPrimitive