Class WaypointExtension
java.lang.Object
org.bremersee.garmin.gpx.v3.model.ext.WaypointExtension
- All Implemented Interfaces:
Serializable,CommonWaypointExtension
This type contains data fields available in Garmin GDB waypoints that cannot
be represented in waypoints in GPX 1.1 instances.
Java class for WaypointExtension_t complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="WaypointExtension_t">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Proximity" type="{http://www.garmin.com/xmlschemas/GpxExtensions/v3}Meters_t" minOccurs="0"/>
<element name="Temperature" type="{http://www.garmin.com/xmlschemas/GpxExtensions/v3}DegreesCelsius_t" minOccurs="0"/>
<element name="Depth" type="{http://www.garmin.com/xmlschemas/GpxExtensions/v3}Meters_t" minOccurs="0"/>
<element name="DisplayMode" type="{http://www.garmin.com/xmlschemas/GpxExtensions/v3}DisplayMode_t" minOccurs="0"/>
<element name="Categories" type="{http://www.garmin.com/xmlschemas/GpxExtensions/v3}Categories_t" minOccurs="0"/>
<element name="Address" type="{http://www.garmin.com/xmlschemas/GpxExtensions/v3}Address_t" minOccurs="0"/>
<element name="PhoneNumber" type="{http://www.garmin.com/xmlschemas/GpxExtensions/v3}PhoneNumber_t" maxOccurs="unbounded" minOccurs="0"/>
<element name="Extensions" type="{http://www.garmin.com/xmlschemas/GpxExtensions/v3}Extensions_t" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AddressTprotected CategoriesTprotected Doubleprotected DisplayModeTprotected ExtensionsTprotected List<PhoneNumberT> protected Doubleprotected Double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the address property.Gets the value of the categories property.getDepth()Gets the value of the depth property.Gets the value of the displayMode property.Gets the value of the extensions property.Gets the value of the phoneNumbers property.Gets the value of the proximity property.Gets the value of the temperature property.voidsetAddress(AddressT value) Sets the value of the address property.voidsetCategories(CategoriesT value) Sets the value of the categories property.voidSets the value of the depth property.voidsetDisplayMode(DisplayModeT value) Sets the value of the displayMode property.voidsetExtensions(ExtensionsT value) Sets the value of the extensions property.voidsetProximity(Double value) Sets the value of the proximity property.voidsetTemperature(Double value) Sets the value of the temperature property.
-
Field Details
-
proximity
-
temperature
-
depth
-
displayMode
-
categories
-
address
-
phoneNumbers
-
extensions
-
-
Constructor Details
-
WaypointExtension
public WaypointExtension()
-
-
Method Details
-
getProximity
Gets the value of the proximity property.- Specified by:
getProximityin interfaceCommonWaypointExtension- Returns:
- possible object is
Double
-
setProximity
Sets the value of the proximity property.- Specified by:
setProximityin interfaceCommonWaypointExtension- Parameters:
value- allowed object isDouble
-
getTemperature
Gets the value of the temperature property.- Specified by:
getTemperaturein interfaceCommonWaypointExtension- Returns:
- possible object is
Double
-
setTemperature
Sets the value of the temperature property.- Specified by:
setTemperaturein interfaceCommonWaypointExtension- Parameters:
value- allowed object isDouble
-
getDepth
Gets the value of the depth property.- Specified by:
getDepthin interfaceCommonWaypointExtension- Returns:
- possible object is
Double
-
setDepth
Sets the value of the depth property.- Specified by:
setDepthin interfaceCommonWaypointExtension- Parameters:
value- allowed object isDouble
-
getDisplayMode
Gets the value of the displayMode property.- Specified by:
getDisplayModein interfaceCommonWaypointExtension- Returns:
- possible object is
DisplayModeT
-
setDisplayMode
Sets the value of the displayMode property.- Parameters:
value- allowed object isDisplayModeT
-
getCategories
Gets the value of the categories property.- Specified by:
getCategoriesin interfaceCommonWaypointExtension- Returns:
- possible object is
CategoriesT
-
setCategories
Sets the value of the categories property.- Parameters:
value- allowed object isCategoriesT
-
getAddress
Gets the value of the address property.- Specified by:
getAddressin interfaceCommonWaypointExtension- Returns:
- possible object is
AddressT
-
setAddress
Sets the value of the address property.- Parameters:
value- allowed object isAddressT
-
getPhoneNumbers
Gets the value of the phoneNumbers 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 phoneNumbers property.For example, to add a new item, do as follows:
getPhoneNumbers().add(newItem);Objects of the following type(s) are allowed in the list
PhoneNumberT- Specified by:
getPhoneNumbersin interfaceCommonWaypointExtension- Returns:
- The value of the phoneNumbers property.
-
getExtensions
Gets the value of the extensions property.- Returns:
- possible object is
ExtensionsT
-
setExtensions
Sets the value of the extensions property.- Parameters:
value- allowed object isExtensionsT
-