Class DataSet
- java.lang.Object
-
- org.optaweb.vehiclerouting.service.demo.dataset.DataSet
-
class DataSet extends Object
Data set representation used for marshalling and unmarshalling.
-
-
Constructor Summary
Constructors Constructor Description DataSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataSetLocationgetDepot()The depot.StringgetName()Data set name (a short description).List<DataSetVehicle>getVehicles()Vehicles.List<DataSetLocation>getVisits()Visits.voidsetDepot(DataSetLocation depot)voidsetName(String name)voidsetVehicles(List<DataSetVehicle> vehicles)voidsetVisits(List<DataSetLocation> visits)
-
-
-
Method Detail
-
getName
public String getName()
Data set name (a short description).- Returns:
- data set name (may be
null)
-
setName
public void setName(String name)
-
getVehicles
public List<DataSetVehicle> getVehicles()
Vehicles.- Returns:
- vehicles (may be
null)
-
setVehicles
public void setVehicles(List<DataSetVehicle> vehicles)
-
getDepot
public DataSetLocation getDepot()
The depot.- Returns:
- the depot (may be
null)
-
setDepot
public void setDepot(DataSetLocation depot)
-
getVisits
public List<DataSetLocation> getVisits()
Visits.- Returns:
- visits (may be
null)
-
setVisits
public void setVisits(List<DataSetLocation> visits)
-
-