public class MetadataType
extends java.lang.Object
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>
Modifier and Type | Field and Description |
---|---|
protected PersonType |
author |
protected BoundsType |
bounds |
protected CopyrightType |
copyright |
protected java.lang.String |
desc |
protected ExtensionsType |
extensions |
protected java.lang.String |
keywords |
protected java.util.List<LinkType> |
link |
protected java.lang.String |
name |
protected javax.xml.datatype.XMLGregorianCalendar |
time |
Constructor and Description |
---|
MetadataType() |
Modifier and Type | Method and Description |
---|---|
PersonType |
getAuthor()
Gets the value of the author property.
|
BoundsType |
getBounds()
Gets the value of the bounds property.
|
CopyrightType |
getCopyright()
Gets the value of the copyright property.
|
java.lang.String |
getDesc()
Gets the value of the desc property.
|
ExtensionsType |
getExtensions()
Gets the value of the extensions property.
|
java.lang.String |
getKeywords()
Gets the value of the keywords property.
|
java.util.List<LinkType> |
getLink()
Gets the value of the link property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
javax.xml.datatype.XMLGregorianCalendar |
getTime()
Gets the value of the time property.
|
void |
setAuthor(PersonType value)
Sets the value of the author property.
|
void |
setBounds(BoundsType value)
Sets the value of the bounds property.
|
void |
setCopyright(CopyrightType value)
Sets the value of the copyright property.
|
void |
setDesc(java.lang.String value)
Sets the value of the desc property.
|
void |
setExtensions(ExtensionsType value)
Sets the value of the extensions property.
|
void |
setKeywords(java.lang.String value)
Sets the value of the keywords property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setTime(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the time property.
|
protected java.lang.String name
protected java.lang.String desc
protected PersonType author
protected CopyrightType copyright
protected java.util.List<LinkType> link
protected javax.xml.datatype.XMLGregorianCalendar time
protected java.lang.String keywords
protected BoundsType bounds
protected ExtensionsType extensions
public java.lang.String getName()
String
public void setName(java.lang.String value)
value
- allowed object is
String
public java.lang.String getDesc()
String
public void setDesc(java.lang.String value)
value
- allowed object is
String
public PersonType getAuthor()
PersonType
public void setAuthor(PersonType value)
value
- allowed object is
PersonType
public CopyrightType getCopyright()
CopyrightType
public void setCopyright(CopyrightType value)
value
- allowed object is
CopyrightType
public java.util.List<LinkType> getLink()
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
public javax.xml.datatype.XMLGregorianCalendar getTime()
XMLGregorianCalendar
public void setTime(javax.xml.datatype.XMLGregorianCalendar value)
value
- allowed object is
XMLGregorianCalendar
public java.lang.String getKeywords()
String
public void setKeywords(java.lang.String value)
value
- allowed object is
String
public BoundsType getBounds()
BoundsType
public void setBounds(BoundsType value)
value
- allowed object is
BoundsType
public ExtensionsType getExtensions()
ExtensionsType
public void setExtensions(ExtensionsType value)
value
- allowed object is
ExtensionsType