Class Route.Waypoints

java.lang.Object
slash.navigation.rtz.binding10.Route.Waypoints
Enclosing class:
Route

public static class Route.Waypoints extends Object

Java class for anonymous complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="defaultWaypoint" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="leg" type="{http://www.cirm.org/RTZ/1/0}legType" minOccurs="0"/>
                 </sequence>
                 <attribute name="radius" type="{http://www.w3.org/2001/XMLSchema}double" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="waypoint" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="position">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <attribute name="lat" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
                           <attribute name="lon" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                   <element name="leg" type="{http://www.cirm.org/RTZ/1/0}legType" minOccurs="0"/>
                 </sequence>
                 <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
                 <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="radius" type="{http://www.w3.org/2001/XMLSchema}double" />
                 <attribute name="revision" type="{http://www.w3.org/2001/XMLSchema}int" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Waypoints

      public Waypoints()
  • Method Details

    • getDefaultWaypoint

      public Route.Waypoints.DefaultWaypoint getDefaultWaypoint()
      Gets the value of the defaultWaypoint property.
      Returns:
      possible object is Route.Waypoints.DefaultWaypoint
    • setDefaultWaypoint

      public void setDefaultWaypoint(Route.Waypoints.DefaultWaypoint value)
      Sets the value of the defaultWaypoint property.
      Parameters:
      value - allowed object is Route.Waypoints.DefaultWaypoint
    • getWaypoint

      public List<Route.Waypoints.Waypoint> getWaypoint()
      Gets the value of the waypoint 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 waypoint property.

      For example, to add a new item, do as follows:

       getWaypoint().add(newItem);
       

      Objects of the following type(s) are allowed in the list Route.Waypoints.Waypoint

      Returns:
      The value of the waypoint property.