CourierStatepublic interface ICourier
| Modifier and Type | Method | Description |
|---|---|---|
int |
getCurrentDestIndex() |
Retrieve the current index in the destination list.
|
ICity[] |
getDestinations() |
Retrieve the destinations
|
java.lang.String |
getName() |
Get the name of the client.
|
int |
getPremium() |
Retrieve the premium for successful finishing the patrol.
|
void |
setCurrentDestIndex(int index) |
Set the current index in the destination list.
|
void |
setDestinations(ICity[] cities) |
Set the destination city of the patrol.
|
void |
setName(java.lang.String name) |
Set the name of the client.
|
void |
setPremium(int premium) |
Set the premium for task completion.
|
arrive, getArrivalDate, getMaxDaysAbsent, getMaxDaysPresent, getNumberOfDaysSinceArrival, isPresent, isPresentProperty, leave, setCityjava.lang.String getName()
void setName(java.lang.String name)
name - of the clientICity[] getDestinations()
void setDestinations(ICity[] cities)
cities - array of destination cities.int getPremium()
void setPremium(int premium)
premium - for completing the patrolvoid setCurrentDestIndex(int index)
index - current index of the destinationint getCurrentDestIndex()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.