Class RteType

java.lang.Object
org.bremersee.gpx.model.RteType
All Implemented Interfaces:
Serializable, CommonGpxType

public class RteType extends Object implements Serializable, CommonGpxType
rte represents route - an ordered list of waypoints representing a series of turn points leading to a destination.

Java class for rteType complex type.

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


 <complexType name="rteType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="cmt" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="desc" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="src" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="link" type="{http://www.topografix.com/GPX/1/1}linkType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="number" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="extensions" type="{http://www.topografix.com/GPX/1/1}extensionsType" minOccurs="0"/>
         <element name="rtept" type="{http://www.topografix.com/GPX/1/1}wptType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • RteType

      public RteType()
  • Method Details

    • getName

      public String getName()
      Gets the value of the name property.
      Specified by:
      getName in interface CommonGpxType
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Specified by:
      setName in interface CommonGpxType
      Parameters:
      value - allowed object is String
    • getCmt

      public String getCmt()
      Gets the value of the cmt property.
      Specified by:
      getCmt in interface CommonGpxType
      Returns:
      possible object is String
    • setCmt

      public void setCmt(String value)
      Sets the value of the cmt property.
      Specified by:
      setCmt in interface CommonGpxType
      Parameters:
      value - allowed object is String
    • getDesc

      public String getDesc()
      Gets the value of the desc property.
      Specified by:
      getDesc in interface CommonGpxType
      Returns:
      possible object is String
    • setDesc

      public void setDesc(String value)
      Sets the value of the desc property.
      Specified by:
      setDesc in interface CommonGpxType
      Parameters:
      value - allowed object is String
    • getSrc

      public String getSrc()
      Gets the value of the src property.
      Specified by:
      getSrc in interface CommonGpxType
      Returns:
      possible object is String
    • setSrc

      public void setSrc(String value)
      Sets the value of the src property.
      Specified by:
      setSrc in interface CommonGpxType
      Parameters:
      value - allowed object is String
    • getLinks

      public List<LinkType> getLinks()
      Gets the value of the links 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 set method for the links property.

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

          getLinks().add(newItem);
       

      Objects of the following type(s) are allowed in the list LinkType

      Specified by:
      getLinks in interface CommonGpxType
      Returns:
      The value of the links property.
    • getNumber

      public BigInteger getNumber()
      Gets the value of the number property.
      Returns:
      possible object is BigInteger
    • setNumber

      public void setNumber(BigInteger value)
      Sets the value of the number property.
      Parameters:
      value - allowed object is BigInteger
    • getType

      public String getType()
      Gets the value of the type property.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
    • getExtensions

      public ExtensionsType getExtensions()
      Gets the value of the extensions property.
      Specified by:
      getExtensions in interface CommonGpxType
      Returns:
      possible object is ExtensionsType
    • setExtensions

      public void setExtensions(ExtensionsType value)
      Sets the value of the extensions property.
      Specified by:
      setExtensions in interface CommonGpxType
      Parameters:
      value - allowed object is ExtensionsType
    • getRtepts

      public List<WptType> getRtepts()
      Gets the value of the rtepts 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 set method for the rtepts property.

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

          getRtepts().add(newItem);
       

      Objects of the following type(s) are allowed in the list WptType

      Returns:
      The value of the rtepts property.