Package org.bremersee.gpx.model
Class MetadataType
java.lang.Object
org.bremersee.gpx.model.MetadataType
- All Implemented Interfaces:
Serializable
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>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PersonTypeprotected BoundsTypeprotected CopyrightTypeprotected Stringprotected ExtensionsTypeprotected Stringprotected Stringprotected XMLGregorianCalendar -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the author property.Gets the value of the bounds property.Gets the value of the copyright property.getDesc()Gets the value of the desc property.Gets the value of the extensions property.Gets the value of the keywords property.getLinks()Gets the value of the links property.getName()Gets the value of the name property.getTime()Gets the value of the time property.voidsetAuthor(PersonType value) Sets the value of the author property.voidsetBounds(BoundsType value) Sets the value of the bounds property.voidsetCopyright(CopyrightType value) Sets the value of the copyright property.voidSets the value of the desc property.voidsetExtensions(ExtensionsType value) Sets the value of the extensions property.voidsetKeywords(String value) Sets the value of the keywords property.voidSets the value of the name property.voidsetTime(XMLGregorianCalendar value) Sets the value of the time property.
-
Field Details
-
name
-
desc
-
author
-
copyright
-
links
-
time
-
keywords
-
bounds
-
extensions
-
-
Constructor Details
-
MetadataType
public MetadataType()
-
-
Method Details
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getDesc
Gets the value of the desc property.- Returns:
- possible object is
String
-
setDesc
Sets the value of the desc property.- Parameters:
value- allowed object isString
-
getAuthor
Gets the value of the author property.- Returns:
- possible object is
PersonType
-
setAuthor
Sets the value of the author property.- Parameters:
value- allowed object isPersonType
-
getCopyright
Gets the value of the copyright property.- Returns:
- possible object is
CopyrightType
-
setCopyright
Sets the value of the copyright property.- Parameters:
value- allowed object isCopyrightType
-
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
setmethod 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- Returns:
- The value of the links property.
-
getTime
Gets the value of the time property.- Returns:
- possible object is
XMLGregorianCalendar
-
setTime
Sets the value of the time property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getKeywords
Gets the value of the keywords property.- Returns:
- possible object is
String
-
setKeywords
Sets the value of the keywords property.- Parameters:
value- allowed object isString
-
getBounds
Gets the value of the bounds property.- Returns:
- possible object is
BoundsType
-
setBounds
Sets the value of the bounds property.- Parameters:
value- allowed object isBoundsType
-
getExtensions
Gets the value of the extensions property.- Returns:
- possible object is
ExtensionsType
-
setExtensions
Sets the value of the extensions property.- Parameters:
value- allowed object isExtensionsType
-