org.vrprep.model.instance
Class Instance.Network.Nodes

java.lang.Object
  extended by org.vrprep.model.instance.Instance.Network.Nodes
Enclosing class:
Instance.Network

public static class Instance.Network.Nodes
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="node" maxOccurs="unbounded" minOccurs="2">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <choice minOccurs="0">
                     <sequence>
                       <element name="cx" type="{http://www.w3.org/2001/XMLSchema}double"/>
                       <element name="cy" type="{http://www.w3.org/2001/XMLSchema}double"/>
                       <element name="cz" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                     </sequence>
                     <sequence>
                       <element name="latitude" type="{http://www.w3.org/2001/XMLSchema}double"/>
                       <element name="longitude" type="{http://www.w3.org/2001/XMLSchema}double"/>
                     </sequence>
                   </choice>
                   <element name="compatible_vehicle" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
                 <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
                 <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
                 <attribute name="trailer" type="{http://www.w3.org/2001/XMLSchema}boolean" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Instance.Network.Nodes.Node
          Java class for anonymous complex type.
 
Field Summary
protected  List<Instance.Network.Nodes.Node> node
           
 
Constructor Summary
Instance.Network.Nodes()
           
 
Method Summary
 List<Instance.Network.Nodes.Node> getNode()
          Gets the value of the node property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

node

protected List<Instance.Network.Nodes.Node> node
Constructor Detail

Instance.Network.Nodes

public Instance.Network.Nodes()
Method Detail

getNode

public List<Instance.Network.Nodes.Node> getNode()
Gets the value of the node 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 set method for the node property.

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

    getNode().add(newItem);
 

Objects of the following type(s) are allowed in the list Instance.Network.Nodes.Node



Copyright © 2014 VRP-REP. All rights reserved.