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

org.rutebanken.netex.model.LocationStructure Maven / Gradle / Ivy

There is a newer version: 2.0.15
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2017.09.21 at 10:53:23 AM CEST 
//


package org.rutebanken.netex.model;

import java.math.BigDecimal;
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.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import net.opengis.gml._3.DirectPositionType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;


/**
 * 

Java class for LocationStructure complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="LocationStructure">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <sequence>
 *           <sequence minOccurs="0">
 *             <element name="Longitude" type="{http://www.netex.org.uk/netex}LongitudeType"/>
 *             <element name="Latitude" type="{http://www.netex.org.uk/netex}LatitudeType"/>
 *             <element name="Altitude" type="{http://www.netex.org.uk/netex}AltitudeType" minOccurs="0"/>
 *           </sequence>
 *           <element ref="{http://www.opengis.net/gml/3.2}pos" minOccurs="0"/>
 *         </sequence>
 *         <element name="Precision" type="{http://www.netex.org.uk/netex}DistanceType" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}normalizedString" />
 *       <attribute name="srsName" type="{http://www.netex.org.uk/netex}SrsNameType" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "LocationStructure", propOrder = { "longitude", "latitude", "altitude", "pos", "precision" }) public class LocationStructure { @XmlElement(name = "Longitude") protected BigDecimal longitude; @XmlElement(name = "Latitude") protected BigDecimal latitude; @XmlElement(name = "Altitude") protected BigDecimal altitude; @XmlElement(namespace = "http://www.opengis.net/gml/3.2") protected DirectPositionType pos; @XmlElement(name = "Precision") protected BigDecimal precision; @XmlAttribute(name = "id") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String id; @XmlAttribute(name = "srsName") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) 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 pos property. * * @return * possible object is * {@link DirectPositionType } * */ public DirectPositionType getPos() { return pos; } /** * Sets the value of the pos property. * * @param value * allowed object is * {@link DirectPositionType } * */ public void setPos(DirectPositionType value) { this.pos = value; } /** * Gets the value of the precision property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getPrecision() { return precision; } /** * Sets the value of the precision property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setPrecision(BigDecimal 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 withPos(DirectPositionType value) { setPos(value); return this; } public LocationStructure withPrecision(BigDecimal 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 - 2024 Weber Informatics LLC | Privacy Policy