Class Osm
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}bounds"/>
<element ref="{http://openstreetmap.org/osm/0.6}node" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://openstreetmap.org/osm/0.6}way" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://openstreetmap.org/osm/0.6}relation" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="version" type="{http://www.w3.org/2001/XMLSchema}float" fixed="0.6" />
<attribute name="generator" type="{http://www.w3.org/2001/XMLSchema}string" fixed="CGImap 0.0.2" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the bounds property.Gets the value of the generator property.getNode()Gets the value of the node property.Gets the value of the relation property.floatGets the value of the version property.getWay()Gets the value of the way property.voidSets the value of the bounds property.voidsetGenerator(String value) Sets the value of the generator property.voidsetVersion(Float value) Sets the value of the version property.
-
Field Details
-
bounds
-
node
-
way
-
relation
-
version
-
generator
-
-
Constructor Details
-
Osm
public Osm()
-
-
Method Details
-
getBounds
Gets the value of the bounds property.- Returns:
- possible object is
Bounds
-
setBounds
Sets the value of the bounds property.- Parameters:
value- allowed object isBounds
-
getNode
Gets the value of the node 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 node property.For example, to add a new item, do as follows:
getNode().add(newItem);Objects of the following type(s) are allowed in the list
Node -
getWay
Gets the value of the way 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 way property.For example, to add a new item, do as follows:
getWay().add(newItem);Objects of the following type(s) are allowed in the list
Way -
getRelation
Gets the value of the relation 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 relation property.For example, to add a new item, do as follows:
getRelation().add(newItem);Objects of the following type(s) are allowed in the list
Relation -
getVersion
public float getVersion()Gets the value of the version property.- Returns:
- possible object is
Float
-
setVersion
Sets the value of the version property.- Parameters:
value- allowed object isFloat
-
getGenerator
Gets the value of the generator property.- Returns:
- possible object is
String
-
setGenerator
Sets the value of the generator property.- Parameters:
value- allowed object isString
-