org.bremersee.garmin.flightplan.v1.model.RouteT Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
//
package org.bremersee.garmin.flightplan.v1.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for Route_t complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
{@code
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Route_t", propOrder = {
"routeName",
"routeDescription",
"flightPlanIndex",
"routePoints",
"extensions"
})
public class RouteT
implements Serializable
{
private static final long serialVersionUID = 1L;
@XmlElement(name = "route-name", required = true)
protected String routeName;
@XmlElement(name = "route-description")
protected String routeDescription;
@XmlElement(name = "flight-plan-index")
@XmlSchemaType(name = "nonNegativeInteger")
protected int flightPlanIndex;
@XmlElement(name = "route-point", required = true)
protected List routePoints;
protected ExtensionsT extensions;
/**
* Gets the value of the routeName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRouteName() {
return routeName;
}
/**
* Sets the value of the routeName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRouteName(String value) {
this.routeName = value;
}
/**
* Gets the value of the routeDescription property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRouteDescription() {
return routeDescription;
}
/**
* Sets the value of the routeDescription property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRouteDescription(String value) {
this.routeDescription = value;
}
/**
* Gets the value of the flightPlanIndex property.
*
*/
public int getFlightPlanIndex() {
return flightPlanIndex;
}
/**
* Sets the value of the flightPlanIndex property.
*
*/
public void setFlightPlanIndex(int value) {
this.flightPlanIndex = value;
}
/**
* Gets the value of the routePoints 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the routePoints property.
*
*
* For example, to add a new item, do as follows:
*
* getRoutePoints().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RoutePointT }
*
*
* @return
* The value of the routePoints property.
*/
public List getRoutePoints() {
if (routePoints == null) {
routePoints = new ArrayList<>();
}
return this.routePoints;
}
/**
* Gets the value of the extensions property.
*
* @return
* possible object is
* {@link ExtensionsT }
*
*/
public ExtensionsT getExtensions() {
return extensions;
}
/**
* Sets the value of the extensions property.
*
* @param value
* allowed object is
* {@link ExtensionsT }
*
*/
public void setExtensions(ExtensionsT value) {
this.extensions = value;
}
}