org.openstreetmap.osm.Relation Maven / Gradle / Ivy
Show all versions of osm-to-netex Show documentation
/*
* 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}member" maxOccurs="unbounded" minOccurs="0"/>
* <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 = {
"member",
"tag"
})
@XmlRootElement(name = "relation")
public class Relation {
protected List member;
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 member 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 member property.
*
*
* For example, to add a new item, do as follows:
*
* getMember().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Member }
*/
public List getMember() {
if (member == null) {
member = new ArrayList();
}
return this.member;
}
/**
* 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;
}
}