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

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

public static class Instance.Network.Links
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="link" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="length" type="{}positive_double" minOccurs="0"/>
                   <choice minOccurs="0">
                     <element name="travel_time" type="{}positive_double"/>
                     <element name="td_travel_time" type="{}time_dependent_parameter_type" maxOccurs="unbounded"/>
                     <element name="uncertain_travel_time" type="{}uncertain_parameter_type"/>
                   </choice>
                   <choice minOccurs="0">
                     <element name="travel_cost" type="{}positive_double"/>
                     <element name="td_travel_cost" type="{}time_dependent_parameter_type" maxOccurs="unbounded"/>
                     <element name="uncertain_travel_cost" type="{}uncertain_parameter_type"/>
                   </choice>
                   <element ref="{}tw" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
                 <attribute name="tail" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
                 <attribute name="head" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
                 <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}integer" />
                 <attribute name="directed" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
                 <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}integer" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="symmetric" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Instance.Network.Links.Link
          Java class for anonymous complex type.
 
Field Summary
protected  List<Instance.Network.Links.Link> link
           
protected  boolean symmetric
           
 
Constructor Summary
Instance.Network.Links()
           
 
Method Summary
 List<Instance.Network.Links.Link> getLink()
          Gets the value of the link property.
 boolean isSymmetric()
          Gets the value of the symmetric property.
 void setSymmetric(boolean value)
          Sets the value of the symmetric property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

link

protected List<Instance.Network.Links.Link> link

symmetric

protected boolean symmetric
Constructor Detail

Instance.Network.Links

public Instance.Network.Links()
Method Detail

getLink

public List<Instance.Network.Links.Link> 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 set method 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 Instance.Network.Links.Link


isSymmetric

public boolean isSymmetric()
Gets the value of the symmetric property.


setSymmetric

public void setSymmetric(boolean value)
Sets the value of the symmetric property.



Copyright © 2014 VRP-REP. All rights reserved.