Class WaypointExtension

java.lang.Object
org.bremersee.garmin.gpx.v3.model.ext.WaypointExtension
All Implemented Interfaces:
Serializable, CommonWaypointExtension

public class WaypointExtension extends Object implements 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 Details

  • Constructor Details

    • WaypointExtension

      public WaypointExtension()
  • Method Details

    • getProximity

      public Double getProximity()
      Gets the value of the proximity property.
      Specified by:
      getProximity in interface CommonWaypointExtension
      Returns:
      possible object is Double
    • setProximity

      public void setProximity(Double value)
      Sets the value of the proximity property.
      Specified by:
      setProximity in interface CommonWaypointExtension
      Parameters:
      value - allowed object is Double
    • getTemperature

      public Double getTemperature()
      Gets the value of the temperature property.
      Specified by:
      getTemperature in interface CommonWaypointExtension
      Returns:
      possible object is Double
    • setTemperature

      public void setTemperature(Double value)
      Sets the value of the temperature property.
      Specified by:
      setTemperature in interface CommonWaypointExtension
      Parameters:
      value - allowed object is Double
    • getDepth

      public Double getDepth()
      Gets the value of the depth property.
      Specified by:
      getDepth in interface CommonWaypointExtension
      Returns:
      possible object is Double
    • setDepth

      public void setDepth(Double value)
      Sets the value of the depth property.
      Specified by:
      setDepth in interface CommonWaypointExtension
      Parameters:
      value - allowed object is Double
    • getDisplayMode

      public DisplayModeT getDisplayMode()
      Gets the value of the displayMode property.
      Specified by:
      getDisplayMode in interface CommonWaypointExtension
      Returns:
      possible object is DisplayModeT
    • setDisplayMode

      public void setDisplayMode(DisplayModeT value)
      Sets the value of the displayMode property.
      Parameters:
      value - allowed object is DisplayModeT
    • getCategories

      public CategoriesT getCategories()
      Gets the value of the categories property.
      Specified by:
      getCategories in interface CommonWaypointExtension
      Returns:
      possible object is CategoriesT
    • setCategories

      public void setCategories(CategoriesT value)
      Sets the value of the categories property.
      Parameters:
      value - allowed object is CategoriesT
    • getAddress

      public AddressT getAddress()
      Gets the value of the address property.
      Specified by:
      getAddress in interface CommonWaypointExtension
      Returns:
      possible object is AddressT
    • setAddress

      public void setAddress(AddressT value)
      Sets the value of the address property.
      Parameters:
      value - allowed object is AddressT
    • getPhoneNumbers

      public List<PhoneNumberT> 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 set method 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:
      getPhoneNumbers in interface CommonWaypointExtension
      Returns:
      The value of the phoneNumbers property.
    • getExtensions

      public ExtensionsT getExtensions()
      Gets the value of the extensions property.
      Returns:
      possible object is ExtensionsT
    • setExtensions

      public void setExtensions(ExtensionsT value)
      Sets the value of the extensions property.
      Parameters:
      value - allowed object is ExtensionsT