CityHallpublic interface ICityHall
| Modifier and Type | Method | 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.
|
java.util.Optional<IAldermanOffice> |
getAldermanOffice() |
Retrieve the office of the alderman.
|
java.util.Optional<IBallot> |
getBallotResult() |
Retrieve the ballot result
|
java.util.List<ICitizen> |
getCandidates() |
Retrieve the list of candidates for the next election.
|
ICity |
getCity() |
Retrieve the city belonging to this city hall
|
java.util.List<ICityGuard> |
getCityGuard() |
Retrieve the city guard.
|
java.util.List<ICitizen> |
getCouncilmen() |
Retrieve the list of all councilmen of the city
|
java.time.LocalDateTime |
getElectionDate() |
Date of the next election.
|
java.util.Optional<IElectionResult> |
getElectionResult() |
Retrieve the Optional election result.
|
java.util.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
|
java.util.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.
|
java.util.Optional<IOutriggerContract> |
getOutriggerContract() |
Current outrigger of the city.
|
java.util.Optional<ICityPetition> |
getPetition() |
Petition to be discussed at the next council meeting.
|
ITreasury |
getTreasury() |
Retrieve the treasury.
|
void |
setOutriggerContract(java.util.Optional<IOutriggerContract> contract) |
Set the outrigger contract.
|
void |
setPetition(java.util.Optional<ICityPetition> petition) |
Set the petition.
|
javafx.collections.ObservableList<ICityHallNotice> getNotices()
java.util.Optional<IOutriggerContract> getOutriggerContract()
void setOutriggerContract(java.util.Optional<IOutriggerContract> contract)
contract - set the Optional outrigger contractICitizen getMayor()
java.time.LocalDateTime getElectionDate()
java.util.List<ICitizen> getCandidates()
java.util.Optional<java.time.LocalDateTime> getNextCouncilMeeting()
java.util.Optional<ICityPetition> getPetition()
void setPetition(java.util.Optional<ICityPetition> petition)
petition - Optional petition to set.ICitizen getAlderman()
java.time.LocalDateTime getAldermanElectionDate()
AldermanCandidateList getAldermanCandidates()
ITreasury getTreasury()
java.util.List<ICityGuard> getCityGuard()
java.util.Optional<IAldermanOffice> getAldermanOffice()
ICity getCity()
java.util.List<ICitizen> getCouncilmen()
java.util.Optional<java.time.LocalDateTime> getHanseaticMeetingDate()
java.util.Optional<IElectionResult> getElectionResult()
java.util.Optional<IBallot> getBallotResult()
int getMaxNumberMilita()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.