All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openstreetmap.osm.Way Maven / Gradle / Ivy

There is a newer version: 1.2
Show newest version
/*
 * Licensed under the EUPL, Version 1.2 or – as soon they will be approved by
 * the European Commission - subsequent versions of the EUPL (the "Licence");
 * You may not use this work except in compliance with the Licence.
 * You may obtain a copy of the Licence at:
 *
 *   https://joinup.ec.europa.eu/software/page/eupl
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the Licence is distributed on an "AS IS" basis,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the Licence for the specific language governing permissions and
 * limitations under the Licence.
 */

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2018.03.21 at 02:35:20 PM CET 
//


package org.openstreetmap.osm;

import javax.xml.bind.annotation.*;
import javax.xml.datatype.XMLGregorianCalendar;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;


/**
 * 

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}nd" maxOccurs="2000" minOccurs="2"/>
 *         <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="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>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "nd", "tag" }) @XmlRootElement(name = "way") public class Way { @XmlElement(required = true) protected List nd; protected List tag; @XmlAttribute(name = "id") @XmlSchemaType(name = "unsignedLong") protected BigInteger id; @XmlAttribute(name = "user") protected String user; @XmlAttribute(name = "uid") @XmlSchemaType(name = "unsignedLong") protected BigInteger uid; @XmlAttribute(name = "visible") protected Boolean visible; @XmlAttribute(name = "version") @XmlSchemaType(name = "unsignedLong") protected BigInteger version; @XmlAttribute(name = "changeset") @XmlSchemaType(name = "unsignedLong") protected BigInteger changeset; @XmlAttribute(name = "timestamp") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar timestamp; /** * Gets the value of the nd 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 set method for the nd property. *

*

* For example, to add a new item, do as follows: *

     *    getNd().add(newItem);
     * 
*

*

*

* Objects of the following type(s) are allowed in the list * {@link Nd } */ public List getNd() { if (nd == null) { nd = new ArrayList(); } return this.nd; } /** * 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 set method 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 * {@link Tag } */ public List getTag() { if (tag == null) { tag = new ArrayList(); } 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 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 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; } /** * 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; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy