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>
| Modifier and Type | Class and Description |
|---|---|
static class |
Instance.Network.Links.Link
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Instance.Network.Links.Link> |
link |
protected boolean |
symmetric |
| Constructor and Description |
|---|
Links() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected List<Instance.Network.Links.Link> link
protected boolean symmetric
public List<Instance.Network.Links.Link> getLink()
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
public boolean isSymmetric()
public void setSymmetric(boolean value)
Copyright © 2014 VRP-REP. All rights reserved.