Package org.openstreetmap.osm
Class Node
java.lang.Object
org.openstreetmap.osm.Node
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://openstreetmap.org/osm/0.6}tag" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
<attribute name="lat" type="{http://www.w3.org/2001/XMLSchema}double" />
<attribute name="lon" type="{http://www.w3.org/2001/XMLSchema}double" />
<attribute name="user" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="uid" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
<attribute name="visible" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="version" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
<attribute name="changeset" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
<attribute name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BigIntegerprotected BigIntegerprotected Doubleprotected Doubleprotected XMLGregorianCalendarprotected BigIntegerprotected Stringprotected BigIntegerprotected Boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the changeset property.getId()Gets the value of the id property.getLat()Gets the value of the lat property.getLon()Gets the value of the lon property.getTag()Gets the value of the tag property.Gets the value of the timestamp property.getUid()Gets the value of the uid property.getUser()Gets the value of the user property.Gets the value of the version property.Gets the value of the visible property.voidsetChangeset(BigInteger value) Sets the value of the changeset property.voidsetId(BigInteger value) Sets the value of the id property.voidSets the value of the lat property.voidSets the value of the lon property.voidsetTimestamp(XMLGregorianCalendar value) Sets the value of the timestamp property.voidsetUid(BigInteger value) Sets the value of the uid property.voidSets the value of the user property.voidsetVersion(BigInteger value) Sets the value of the version property.voidsetVisible(Boolean value) Sets the value of the visible property.
-
Field Details
-
tag
-
id
-
lat
-
lon
-
user
-
uid
-
visible
-
version
-
changeset
-
timestamp
-
-
Constructor Details
-
Node
public Node()
-
-
Method Details
-
getTag
Gets the value of the tag property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the tag property.For example, to add a new item, do as follows:
getTag().add(newItem);Objects of the following type(s) are allowed in the list
Tag -
getId
Gets the value of the id property.- Returns:
- possible object is
BigInteger
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isBigInteger
-
getLat
Gets the value of the lat property.- Returns:
- possible object is
Double
-
setLat
Sets the value of the lat property.- Parameters:
value- allowed object isDouble
-
getLon
Gets the value of the lon property.- Returns:
- possible object is
Double
-
setLon
Sets the value of the lon property.- Parameters:
value- allowed object isDouble
-
getUser
Gets the value of the user property.- Returns:
- possible object is
String
-
setUser
Sets the value of the user property.- Parameters:
value- allowed object isString
-
getUid
Gets the value of the uid property.- Returns:
- possible object is
BigInteger
-
setUid
Sets the value of the uid property.- Parameters:
value- allowed object isBigInteger
-
isVisible
Gets the value of the visible property.- Returns:
- possible object is
Boolean
-
setVisible
Sets the value of the visible property.- Parameters:
value- allowed object isBoolean
-
getVersion
Gets the value of the version property.- Returns:
- possible object is
BigInteger
-
setVersion
Sets the value of the version property.- Parameters:
value- allowed object isBigInteger
-
getChangeset
Gets the value of the changeset property.- Returns:
- possible object is
BigInteger
-
setChangeset
Sets the value of the changeset property.- Parameters:
value- allowed object isBigInteger
-
getTimestamp
Gets the value of the timestamp property.- Returns:
- possible object is
XMLGregorianCalendar
-
setTimestamp
Sets the value of the timestamp property.- Parameters:
value- allowed object isXMLGregorianCalendar
-