//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.09.14 at 01:52:08 PM MESZ
//
package org.osm.schema;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* <p>Java class for Osm_way complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="Osm_way">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="nd" type="{}Osm_nd" maxOccurs="unbounded" minOccurs="2"/>
* <element name="tag" type="{}Osm_tag" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
* <attribute name="user" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* <attribute name="visible" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="changeset" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
* <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Osm_way", propOrder = {
"nd",
"tag"
})
public class OsmWay {
@XmlElement(required = true)
protected List<OsmNd> nd;
protected List<OsmTag> tag;
@XmlAttribute(name = "id", required = true)
@XmlSchemaType(name = "unsignedLong")
protected BigInteger id;
@XmlAttribute(name = "user")
protected String user;
@XmlAttribute(name = "timestamp")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar timestamp;
@XmlAttribute(name = "visible")
protected Boolean visible;
@XmlAttribute(name = "changeset")
@XmlSchemaType(name = "unsignedLong")
protected BigInteger changeset;
@XmlAttribute(name = "version")
@XmlSchemaType(name = "unsignedLong")
protected BigInteger version;
/**
* Gets the value of the nd property.
*
* <p>
* 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 <CODE>set</CODE> method for the nd property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getNd().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link OsmNd }
*
*
*/
public List<OsmNd> getNd() {
if (nd == null) {
nd = new ArrayList<OsmNd>();
}
return this.nd;
}
/**
* Gets the value of the tag property.
*
* <p>
* 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 <CODE>set</CODE> method for the tag property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTag().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link OsmTag }
*
*
*/
public List<OsmTag> getTag() {
if (tag == null) {
tag = new ArrayList<OsmTag>();
}
return this.tag;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setId(BigInteger value) {
this.id = value;
}
/**
* Gets the value of the user property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUser() {
return user;
}
/**
* Sets the value of the user property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUser(String value) {
this.user = value;
}
/**
* Gets the value of the timestamp property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTimestamp() {
return timestamp;
}
/**
* Sets the value of the timestamp property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTimestamp(XMLGregorianCalendar value) {
this.timestamp = value;
}
/**
* Gets the value of the visible property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isVisible() {
return visible;
}
/**
* Sets the value of the visible property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setVisible(Boolean value) {
this.visible = value;
}
/**
* Gets the value of the changeset property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getChangeset() {
return changeset;
}
/**
* Sets the value of the changeset property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setChangeset(BigInteger value) {
this.changeset = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setVersion(BigInteger value) {
this.version = value;
}
}