Package net.wirelabs.jmaps.example.gpx
Class MetadataType
- java.lang.Object
-
- net.wirelabs.jmaps.example.gpx.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected PersonTypeauthorprotected BoundsTypeboundsprotected CopyrightTypecopyrightprotected Stringdescprotected ExtensionsTypeextensionsprotected Stringkeywordsprotected List<LinkType>linkprotected Stringnameprotected XMLGregorianCalendartime
-
Constructor Summary
Constructors Constructor Description MetadataType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersonTypegetAuthor()Gets the value of the author property.BoundsTypegetBounds()Gets the value of the bounds property.CopyrightTypegetCopyright()Gets the value of the copyright property.StringgetDesc()Gets the value of the desc property.ExtensionsTypegetExtensions()Gets the value of the extensions property.StringgetKeywords()Gets the value of the keywords property.List<LinkType>getLink()Gets the value of the link property.StringgetName()Gets the value of the name property.XMLGregorianCalendargetTime()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.voidsetDesc(String value)Sets 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.voidsetName(String value)Sets the value of the name property.voidsetTime(XMLGregorianCalendar value)Sets the value of the time property.
-
-
-
Field Detail
-
name
protected String name
-
desc
protected String desc
-
author
protected PersonType author
-
copyright
protected CopyrightType copyright
-
time
protected XMLGregorianCalendar time
-
keywords
protected String keywords
-
bounds
protected BoundsType bounds
-
extensions
protected ExtensionsType extensions
-
-
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 isString
-
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 isString
-
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 isPersonType
-
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 isCopyrightType
-
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
setmethod 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
-
getTime
public XMLGregorianCalendar getTime()
Gets the value of the time property.- Returns:
- possible object is
XMLGregorianCalendar
-
setTime
public void setTime(XMLGregorianCalendar value)
Sets the value of the time property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
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 isString
-
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 isBoundsType
-
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 isExtensionsType
-
-