Class MetadataType


  • public class MetadataType
    extends Object
    Information about the GPX file, author, and copyright restrictions goes in the metadata section. Providing rich, meaningful information about your GPX files allows others to search for and use your GPS data.

    Java class for metadataType complex type.

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

     <complexType name="metadataType">
       <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="desc" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="author" type="{http://www.topografix.com/GPX/1/1}personType" minOccurs="0"/>
             <element name="copyright" type="{http://www.topografix.com/GPX/1/1}copyrightType" minOccurs="0"/>
             <element name="link" type="{http://www.topografix.com/GPX/1/1}linkType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="time" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
             <element name="keywords" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="bounds" type="{http://www.topografix.com/GPX/1/1}boundsType" minOccurs="0"/>
             <element name="extensions" type="{http://www.topografix.com/GPX/1/1}extensionsType" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • MetadataType

        public MetadataType()
    • 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
      • 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
      • getAuthor

        public PersonType getAuthor()
        Gets the value of the author property.
        Returns:
        possible object is PersonType
      • setAuthor

        public void setAuthor​(PersonType value)
        Sets the value of the author property.
        Parameters:
        value - allowed object is PersonType
      • getCopyright

        public CopyrightType getCopyright()
        Gets the value of the copyright property.
        Returns:
        possible object is CopyrightType
      • setCopyright

        public void setCopyright​(CopyrightType value)
        Sets the value of the copyright property.
        Parameters:
        value - allowed object is CopyrightType
      • 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

      • getKeywords

        public String getKeywords()
        Gets the value of the keywords property.
        Returns:
        possible object is String
      • setKeywords

        public void setKeywords​(String value)
        Sets the value of the keywords property.
        Parameters:
        value - allowed object is String
      • getBounds

        public BoundsType getBounds()
        Gets the value of the bounds property.
        Returns:
        possible object is BoundsType
      • setBounds

        public void setBounds​(BoundsType value)
        Sets the value of the bounds property.
        Parameters:
        value - allowed object is BoundsType
      • 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