public class PlanningVisit extends AbstractPersistable implements Standstill
| Modifier and Type | Field and Description |
|---|---|
protected int |
demand |
protected PlanningLocation |
location |
protected PlanningVisit |
nextVisit |
protected Standstill |
previousStandstill |
protected PlanningVehicle |
vehicle |
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() |
protected PlanningLocation location
protected int demand
protected Standstill previousStandstill
protected PlanningVisit nextVisit
protected PlanningVehicle vehicle
public 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.