public class Stop extends Object
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>
| Modifier and Type | Field and Description |
|---|---|
protected List<Serializable> |
content |
protected BigInteger |
nodeId |
| Constructor and Description |
|---|
Stop() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected List<Serializable> content
protected BigInteger nodeId
public List<Serializable> getContent()
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>
JAXBElement<Double>
JAXBElement<Double>
String
public BigInteger getNodeId()
BigIntegerpublic void setNodeId(BigInteger value)
value - allowed object is
BigIntegerCopyright © 2014 VRP-REP. All rights reserved.