public interface ICityHall
| Modifier and Type | Method and Description |
|---|---|
ICitizen |
getAlderman()
Retrieve the alderman.
|
AldermanCandidateList |
getAldermanCandidates()
Retrieve the top four of the candidates for the alderman post.
|
java.time.LocalDateTime |
getAldermanElectionDate()
Date of the next alderman election.
|
Optional<IAldermanOffice> |
getAldermanOffice()
Retrieve the office of the alderman.
|
Optional<IBallot> |
getBallotResult() |
List<ICitizen> |
getCandidates()
Retrieve the list of candidates for the next election.
|
ICity |
getCity()
Retrieve the city belonging to this city hall
|
List<ICityGuard> |
getCityGuard()
Retrieve the city guard.
|
List<ICitizen> |
getCouncilmen()
Retrieve the list of all councilmen of the city
|
java.time.LocalDateTime |
getElectionDate()
Date of the next election.
|
Optional<IElectionResult> |
getElectionResult() |
Optional<java.time.LocalDateTime> |
getHanseaticMeetingDate()
Retrieve the meeting date for the next extra circular hanseatic day.
|
int |
getMaxNumberMilita()
Retrieve the maximum allowed members of the guard.
|
ICitizen |
getMayor()
Current mayor of the city
|
Optional<java.time.LocalDateTime> |
getNextCouncilMeeting()
Date of the next council meeting to discuss a petition.
|
javafx.collections.ObservableList<ICityHallNotice> |
getNotices()
Retrieve the list of notices for wares that can be delivered
to other cities at a guaranteed price.
|
Optional<IOutriggerContract> |
getOutriggerContract()
Current outrigger of the city.
|
Optional<ICityPetition> |
getPetition()
Petition to be discussed at the next council meeting.
|
ITreasury |
getTreasury()
Retrieve the treasury.
|
void |
setOutriggerContract(Optional<IOutriggerContract> contract)
Set the outrigger contract.
|
void |
setPetition(Optional<ICityPetition> petition)
Set the petition.
|
javafx.collections.ObservableList<ICityHallNotice> getNotices()
Optional<IOutriggerContract> getOutriggerContract()
void setOutriggerContract(Optional<IOutriggerContract> contract)
contract - ICitizen getMayor()
java.time.LocalDateTime getElectionDate()
List<ICitizen> getCandidates()
Optional<java.time.LocalDateTime> getNextCouncilMeeting()
Optional<ICityPetition> getPetition()
void setPetition(Optional<ICityPetition> petition)
petition - ICitizen getAlderman()
java.time.LocalDateTime getAldermanElectionDate()
AldermanCandidateList getAldermanCandidates()
ITreasury getTreasury()
List<ICityGuard> getCityGuard()
Optional<IAldermanOffice> getAldermanOffice()
ICity getCity()
List<ICitizen> getCouncilmen()
Optional<java.time.LocalDateTime> getHanseaticMeetingDate()
Optional<IElectionResult> getElectionResult()
int getMaxNumberMilita()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.