public static class Instance.Fleet 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="vehicle_profile" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<element name="departure_from_any_node">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
</restriction>
</complexContent>
</complexType>
</element>
<element name="departure_node" type="{http://www.w3.org/2001/XMLSchema}integer" maxOccurs="unbounded"/>
</choice>
<choice>
<element name="arrival_at_any_node">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
</restriction>
</complexContent>
</complexType>
</element>
<element name="arrival_node" type="{http://www.w3.org/2001/XMLSchema}integer" maxOccurs="unbounded"/>
</choice>
<group ref="{}storage"/>
<element name="max_travel_time" type="{}positive_double" minOccurs="0"/>
<element name="max_travel_distance" type="{}positive_double" minOccurs="0"/>
<element name="speed_factor" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<sequence>
<element name="fix_cost" type="{}positive_double" minOccurs="0"/>
<element name="cost_x_distance" type="{}positive_double" minOccurs="0"/>
<element name="cost_x_time" type="{}positive_double" minOccurs="0"/>
</sequence>
<element name="resource" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="start" type="{}positive_double" minOccurs="0"/>
<element name="end" type="{}positive_double" minOccurs="0"/>
<element name="max" type="{}positive_double"/>
</sequence>
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="trailer" maxOccurs="unbounded" minOccurs="0">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>integer">
<attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
</extension>
</simpleContent>
</complexType>
</element>
</sequence>
<attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
<attribute name="number" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="trailer_profile" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{}storage"/>
<sequence>
<element name="fix_cost" type="{}positive_double" minOccurs="0"/>
<element name="cost_x_distance" type="{}positive_double" minOccurs="0"/>
<element name="cost_x_time" type="{}positive_double" minOccurs="0"/>
</sequence>
</sequence>
<attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
<attribute name="number" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Instance.Fleet.TrailerProfile
Java class for anonymous complex type.
|
static class |
Instance.Fleet.VehicleProfile
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Instance.Fleet.TrailerProfile> |
trailerProfile |
protected List<Instance.Fleet.VehicleProfile> |
vehicleProfile |
| Constructor and Description |
|---|
Fleet() |
| Modifier and Type | Method and Description |
|---|---|
List<Instance.Fleet.TrailerProfile> |
getTrailerProfile()
Gets the value of the trailerProfile property.
|
List<Instance.Fleet.VehicleProfile> |
getVehicleProfile()
Gets the value of the vehicleProfile property.
|
protected List<Instance.Fleet.VehicleProfile> vehicleProfile
protected List<Instance.Fleet.TrailerProfile> trailerProfile
public List<Instance.Fleet.VehicleProfile> getVehicleProfile()
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 vehicleProfile property.
For example, to add a new item, do as follows:
getVehicleProfile().add(newItem);
Objects of the following type(s) are allowed in the list
Instance.Fleet.VehicleProfile
public List<Instance.Fleet.TrailerProfile> getTrailerProfile()
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 trailerProfile property.
For example, to add a new item, do as follows:
getTrailerProfile().add(newItem);
Objects of the following type(s) are allowed in the list
Instance.Fleet.TrailerProfile
Copyright © 2014 VRP-REP. All rights reserved.