public interface Coordinate
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Get the ID associated with the coordinate.
|
TravelType |
getTravelType()
Get TravelType of coordinate.
|
double |
getX()
Get the value of coordinate in X-axis.
|
double |
getY()
Get the value of coordinate in Y-axis.
|
void |
setId(String id)
Assign an ID to the coordinate
|
void |
setTravelType(TravelType travelType)
Set a travel type for the coordinate.
|
void |
setX(double x)
Set the value of coordinate in X-axis.
|
void |
setY(double y)
Set the value of coordinate in Y-axis.
|
TravelType getTravelType()
void setTravelType(TravelType travelType)
travelType - Travel type to be associated with the coordinate.String getId()
void setId(String id)
id - ID to be assigneddouble getX()
void setX(double x)
x - X value to be setdouble getY()
void setY(double y)
y - Y value to be setCopyright © 2017. All rights reserved.