Class TrkType
- java.lang.Object
-
- net.wirelabs.jmaps.example.gpx.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcmtprotected Stringdescprotected ExtensionsTypeextensionsprotected List<LinkType>linkprotected Stringnameprotected BigIntegernumberprotected Stringsrcprotected List<TrksegType>trksegprotected Stringtype
-
Constructor Summary
Constructors Constructor Description TrkType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCmt()Gets the value of the cmt property.StringgetDesc()Gets the value of the desc property.ExtensionsTypegetExtensions()Gets the value of the extensions property.List<LinkType>getLink()Gets the value of the link property.StringgetName()Gets the value of the name property.BigIntegergetNumber()Gets the value of the number property.StringgetSrc()Gets the value of the src property.List<TrksegType>getTrkseg()Gets the value of the trkseg property.StringgetType()Gets the value of the type property.voidsetCmt(String value)Sets the value of the cmt property.voidsetDesc(String value)Sets the value of the desc property.voidsetExtensions(ExtensionsType value)Sets the value of the extensions property.voidsetName(String value)Sets the value of the name property.voidsetNumber(BigInteger value)Sets the value of the number property.voidsetSrc(String value)Sets the value of the src property.voidsetType(String value)Sets the value of the type property.
-
-
-
Field Detail
-
name
protected String name
-
cmt
protected String cmt
-
desc
protected String desc
-
src
protected String src
-
number
protected BigInteger number
-
type
protected String type
-
extensions
protected ExtensionsType extensions
-
trkseg
protected List<TrksegType> trkseg
-
-
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
-
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 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
-
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 isString
-
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
-
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 isBigInteger
-
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 isString
-
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
-
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
setmethod 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
-
-