//
// 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.osmtools.osc;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* <p>Java class for way complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="way">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="nd" type="{}nd" maxOccurs="unbounded" minOccurs="0"/>
* <element name="tag" type="{}tag" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
* <attribute name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* <attribute name="uid" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
* <attribute name="user" type="{http://www.w3.org/2001/XMLSchema}string" />
* <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" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "way", propOrder = {
"nd",
"tag"
})
public class Way {
protected List<Nd> nd;
protected List<Tag> tag;
@XmlAttribute(name = "id", required = true)
@XmlSchemaType(name = "unsignedLong")
protected BigInteger id;
@XmlAttribute(name = "timestamp")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar timestamp;
@XmlAttribute(name = "uid")
@XmlSchemaType(name = "unsignedLong")
protected BigInteger uid;
@XmlAttribute(name = "user")
protected String user;
@XmlAttribute(name = "visible")
protected Boolean visible;
@XmlAttribute(name = "version")
@XmlSchemaType(name = "unsignedLong")
protected BigInteger version;
@XmlAttribute(name = "changeset", required = true)
@XmlSchemaType(name = "unsignedLong")
protected BigInteger changeset;
/**
* 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 Nd }
*
*
*/
public List<Nd> getNd() {
if (nd == null) {
nd = new ArrayList<Nd>();
}
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 Tag }
*
*
*/
public List<Tag> getTag() {
if (tag == null) {
tag = new ArrayList<Tag>();
}
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 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 uid property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getUid() {
return uid;
}
/**
* Sets the value of the uid property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setUid(BigInteger value) {
this.uid = 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 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 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;
}
/**
* 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;
}
}