Package controllers
Class Percorso
- java.lang.Object
-
- controllers.Percorso
-
public class Percorso extends java.lang.Object
Handles an itinerary- Author:
- gabrieleromanato
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
calculateTravelKm()
Sets the total itinerary distancedouble
getArrivalKm()
double
getDepartureKm()
int
getTravelKm()
void
setArrivalKm(double arrivalKm)
void
setDepartureKm(double departureKm)
void
setTravelKm(int travelKm)
-
-
-
Method Detail
-
calculateTravelKm
public void calculateTravelKm()
Sets the total itinerary distance
-
getArrivalKm
public double getArrivalKm()
-
setArrivalKm
public void setArrivalKm(double arrivalKm)
-
getDepartureKm
public double getDepartureKm()
-
setDepartureKm
public void setDepartureKm(double departureKm)
-
getTravelKm
public int getTravelKm()
-
setTravelKm
public void setTravelKm(int travelKm)
-
-