Class TrkType


  • public class TrkType
    extends Object
    trk represents a track - an ordered list of points describing a path.

    Java class for trkType complex type.

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

     <complexType name="trkType">
       <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="trkseg" type="{http://www.topografix.com/GPX/1/1}trksegType" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • TrkType

        public TrkType()
    • Method Detail

      • getName

        public String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • getCmt

        public String getCmt()
        Gets the value of the cmt property.
        Returns:
        possible object is String
      • setCmt

        public void setCmt​(String value)
        Sets the value of the cmt property.
        Parameters:
        value - allowed object is String
      • getDesc

        public String getDesc()
        Gets the value of the desc property.
        Returns:
        possible object is String
      • setDesc

        public void setDesc​(String value)
        Sets the value of the desc property.
        Parameters:
        value - allowed object is String
      • getSrc

        public String getSrc()
        Gets the value of the src property.
        Returns:
        possible object is String
      • setSrc

        public void setSrc​(String value)
        Sets the value of the src property.
        Parameters:
        value - allowed object is String
      • getLink

        public List<LinkType> getLink()
        Gets the value of the link 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 link property.

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

            getLink().add(newItem);
         

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

      • 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.
        Returns:
        possible object is ExtensionsType
      • setExtensions

        public void setExtensions​(ExtensionsType value)
        Sets the value of the extensions property.
        Parameters:
        value - allowed object is ExtensionsType
      • getTrkseg

        public List<TrksegType> getTrkseg()
        Gets the value of the trkseg 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 trkseg property.

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

            getTrkseg().add(newItem);
         

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