public class PlanningVisit extends AbstractPlanningObject implements Standstill
id| Constructor and Description |
|---|
PlanningVisit() |
| Modifier and Type | Method and Description |
|---|---|
int |
getDemand() |
long |
getDistanceFrom(Standstill standstill) |
long |
getDistanceFromPreviousStandstill() |
long |
getDistanceTo(Standstill standstill) |
PlanningLocation |
getLocation() |
PlanningVisit |
getNextVisit() |
Standstill |
getPreviousStandstill() |
PlanningVehicle |
getVehicle() |
void |
setDemand(int demand) |
void |
setLocation(PlanningLocation location) |
void |
setNextVisit(PlanningVisit nextVisit) |
void |
setPreviousStandstill(Standstill previousStandstill) |
void |
setVehicle(PlanningVehicle vehicle) |
String |
toString() |
getId, setIdpublic PlanningLocation getLocation()
getLocation in interface Standstillpublic void setLocation(PlanningLocation location)
public int getDemand()
public void setDemand(int demand)
public Standstill getPreviousStandstill()
public void setPreviousStandstill(Standstill previousStandstill)
public PlanningVisit getNextVisit()
getNextVisit in interface Standstillpublic void setNextVisit(PlanningVisit nextVisit)
setNextVisit in interface Standstillpublic PlanningVehicle getVehicle()
getVehicle in interface Standstillpublic void setVehicle(PlanningVehicle vehicle)
public long getDistanceFromPreviousStandstill()
public long getDistanceFrom(Standstill standstill)
standstill - never nullpublic long getDistanceTo(Standstill standstill)
standstill - never nullCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.