public static class Instance.Network.Links.Link 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="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>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
directed |
protected BigInteger |
head |
protected BigInteger |
id |
protected Double |
length |
protected BigInteger |
tail |
protected List<TimeDependentParameterType> |
tdTravelCost |
protected List<TimeDependentParameterType> |
tdTravelTime |
protected Double |
travelCost |
protected Double |
travelTime |
protected List<Tw> |
tw |
protected BigInteger |
type |
protected UncertainParameterType |
uncertainTravelCost |
protected UncertainParameterType |
uncertainTravelTime |
| Constructor and Description |
|---|
Link() |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getHead()
Gets the value of the head property.
|
BigInteger |
getId()
Gets the value of the id property.
|
Double |
getLength()
Gets the value of the length property.
|
BigInteger |
getTail()
Gets the value of the tail property.
|
List<TimeDependentParameterType> |
getTdTravelCost()
Gets the value of the tdTravelCost property.
|
List<TimeDependentParameterType> |
getTdTravelTime()
Gets the value of the tdTravelTime property.
|
Double |
getTravelCost()
Gets the value of the travelCost property.
|
Double |
getTravelTime()
Gets the value of the travelTime property.
|
List<Tw> |
getTw()
Time windows.
|
BigInteger |
getType()
Gets the value of the type property.
|
UncertainParameterType |
getUncertainTravelCost()
Gets the value of the uncertainTravelCost property.
|
UncertainParameterType |
getUncertainTravelTime()
Gets the value of the uncertainTravelTime property.
|
boolean |
isDirected()
Gets the value of the directed property.
|
void |
setDirected(Boolean value)
Sets the value of the directed property.
|
void |
setHead(BigInteger value)
Sets the value of the head property.
|
void |
setId(BigInteger value)
Sets the value of the id property.
|
void |
setLength(Double value)
Sets the value of the length property.
|
void |
setTail(BigInteger value)
Sets the value of the tail property.
|
void |
setTravelCost(Double value)
Sets the value of the travelCost property.
|
void |
setTravelTime(Double value)
Sets the value of the travelTime property.
|
void |
setType(BigInteger value)
Sets the value of the type property.
|
void |
setUncertainTravelCost(UncertainParameterType value)
Sets the value of the uncertainTravelCost property.
|
void |
setUncertainTravelTime(UncertainParameterType value)
Sets the value of the uncertainTravelTime property.
|
protected Double length
protected Double travelTime
protected List<TimeDependentParameterType> tdTravelTime
protected UncertainParameterType uncertainTravelTime
protected Double travelCost
protected List<TimeDependentParameterType> tdTravelCost
protected UncertainParameterType uncertainTravelCost
protected BigInteger tail
protected BigInteger head
protected BigInteger id
protected Boolean directed
protected BigInteger type
public Double getLength()
Doublepublic void setLength(Double value)
value - allowed object is
Doublepublic Double getTravelTime()
Doublepublic void setTravelTime(Double value)
value - allowed object is
Doublepublic List<TimeDependentParameterType> getTdTravelTime()
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 tdTravelTime property.
For example, to add a new item, do as follows:
getTdTravelTime().add(newItem);
Objects of the following type(s) are allowed in the list
TimeDependentParameterType
public UncertainParameterType getUncertainTravelTime()
UncertainParameterTypepublic void setUncertainTravelTime(UncertainParameterType value)
value - allowed object is
UncertainParameterTypepublic Double getTravelCost()
Doublepublic void setTravelCost(Double value)
value - allowed object is
Doublepublic List<TimeDependentParameterType> getTdTravelCost()
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 tdTravelCost property.
For example, to add a new item, do as follows:
getTdTravelCost().add(newItem);
Objects of the following type(s) are allowed in the list
TimeDependentParameterType
public UncertainParameterType getUncertainTravelCost()
UncertainParameterTypepublic void setUncertainTravelCost(UncertainParameterType value)
value - allowed object is
UncertainParameterTypepublic List<Tw> getTw()
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 tw property.
For example, to add a new item, do as follows:
getTw().add(newItem);
Objects of the following type(s) are allowed in the list
Tw
public BigInteger getTail()
BigIntegerpublic void setTail(BigInteger value)
value - allowed object is
BigIntegerpublic BigInteger getHead()
BigIntegerpublic void setHead(BigInteger value)
value - allowed object is
BigIntegerpublic BigInteger getId()
BigIntegerpublic void setId(BigInteger value)
value - allowed object is
BigIntegerpublic boolean isDirected()
Booleanpublic void setDirected(Boolean value)
value - allowed object is
Booleanpublic BigInteger getType()
BigIntegerpublic void setType(BigInteger value)
value - allowed object is
BigIntegerCopyright © 2014 VRP-REP. All rights reserved.