
de.vdv.ojp20.siri.LocationStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ojp-java-model Show documentation
Show all versions of ojp-java-model Show documentation
Generates Java model from OJP xsds using jaxb.
The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
//
package de.vdv.ojp20.siri;
import java.math.BigDecimal;
import java.math.BigInteger;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
/**
* Java class for LocationStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LocationStructure", propOrder = {
"longitude",
"latitude",
"altitude",
"coordinates",
"precision"
})
@XmlSeeAlso({
CircularAreaStructure.class
})
public class LocationStructure {
@XmlElement(name = "Longitude")
protected BigDecimal longitude;
@XmlElement(name = "Latitude")
protected BigDecimal latitude;
@XmlElement(name = "Altitude")
protected BigDecimal altitude;
@XmlElement(name = "Coordinates")
protected CoordinatesStructure coordinates;
@XmlElement(name = "Precision")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger precision;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String id;
@XmlAttribute(name = "srsName")
protected String srsName;
/**
* Gets the value of the longitude property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getLongitude() {
return longitude;
}
/**
* Sets the value of the longitude property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setLongitude(BigDecimal value) {
this.longitude = value;
}
/**
* Gets the value of the latitude property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getLatitude() {
return latitude;
}
/**
* Sets the value of the latitude property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setLatitude(BigDecimal value) {
this.latitude = value;
}
/**
* Gets the value of the altitude property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getAltitude() {
return altitude;
}
/**
* Sets the value of the altitude property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setAltitude(BigDecimal value) {
this.altitude = value;
}
/**
* Gets the value of the coordinates property.
*
* @return
* possible object is
* {@link CoordinatesStructure }
*
*/
public CoordinatesStructure getCoordinates() {
return coordinates;
}
/**
* Sets the value of the coordinates property.
*
* @param value
* allowed object is
* {@link CoordinatesStructure }
*
*/
public void setCoordinates(CoordinatesStructure value) {
this.coordinates = value;
}
/**
* Gets the value of the precision property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getPrecision() {
return precision;
}
/**
* Sets the value of the precision property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setPrecision(BigInteger value) {
this.precision = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the srsName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSrsName() {
return srsName;
}
/**
* Sets the value of the srsName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSrsName(String value) {
this.srsName = value;
}
public LocationStructure withLongitude(BigDecimal value) {
setLongitude(value);
return this;
}
public LocationStructure withLatitude(BigDecimal value) {
setLatitude(value);
return this;
}
public LocationStructure withAltitude(BigDecimal value) {
setAltitude(value);
return this;
}
public LocationStructure withCoordinates(CoordinatesStructure value) {
setCoordinates(value);
return this;
}
public LocationStructure withPrecision(BigInteger value) {
setPrecision(value);
return this;
}
public LocationStructure withId(String value) {
setId(value);
return this;
}
public LocationStructure withSrsName(String value) {
setSrsName(value);
return this;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy