org.vrprep.model.solution
Class Stop

java.lang.Object
  extended by org.vrprep.model.solution.Stop
Direct Known Subclasses:
Service, Solution.Routes.Route.Events.StopAtDepot

public class Stop
extends Object

Models a stop in the route

Java class for stop complex type.

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

 <complexType name="stop">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice minOccurs="0">
         <sequence>
           <element name="start_time" type="{http://www.w3.org/2001/XMLSchema}double"/>
           <element name="end_time" type="{http://www.w3.org/2001/XMLSchema}double"/>
         </sequence>
         <element name="length" type="{http://www.w3.org/2001/XMLSchema}double"/>
       </choice>
       <attribute name="node_id" type="{http://www.w3.org/2001/XMLSchema}integer" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Serializable> content
           
protected  BigInteger nodeId
           
 
Constructor Summary
Stop()
           
 
Method Summary
 List<Serializable> getContent()
          Models a stop in the route Gets the value of the content property.
 BigInteger getNodeId()
          Gets the value of the nodeId property.
 void setNodeId(BigInteger value)
          Sets the value of the nodeId property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected List<Serializable> content

nodeId

protected BigInteger nodeId
Constructor Detail

Stop

public Stop()
Method Detail

getContent

public List<Serializable> getContent()
Models a stop in the route Gets the value of the content 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 content property.

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

    getContent().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<Double> String JAXBElement<Double> JAXBElement<Double>


getNodeId

public BigInteger getNodeId()
Gets the value of the nodeId property.

Returns:
possible object is BigInteger

setNodeId

public void setNodeId(BigInteger value)
Sets the value of the nodeId property.

Parameters:
value - allowed object is BigInteger


Copyright © 2014 VRP-REP. All rights reserved.