| Modifier and Type | Field and Description |
|---|---|
private ICitizen |
alderman |
private AldermanCandidateList |
aldermanCandidates |
private java.time.LocalDateTime |
aldermanElectionDate |
private Optional<IAldermanOffice> |
aldermanOffice |
private Optional<IBallot> |
ballotResult |
private List<ICitizen> |
candidates |
private ICity |
city |
private List<ICityGuard> |
cityGuard |
private List<ICitizen> |
councilmen |
private DateService |
date |
private java.time.LocalDateTime |
electionDate |
private Optional<IElectionResult> |
electionResult |
private Optional<java.time.LocalDateTime> |
hanseaticMeetingDate |
private int |
maxNumberMilita |
private ICitizen |
mayor |
private Optional<java.time.LocalDateTime> |
nextCouncilMeeting |
private javafx.collections.ObservableList<ICityHallNotice> |
notices |
private Optional<IOutriggerContract> |
outriggerContract |
private Optional<ICityPetition> |
petition |
private ITreasury |
treasury |
| Constructor and Description |
|---|
CityHall() |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
isAldermanElectionDateOk(java.time.LocalDateTime electionDate) |
private boolean |
isCouncilMeetingDateOk(java.time.LocalDateTime meetingDate) |
private boolean |
isHanseaticMeetingDateOk(java.time.LocalDateTime meetingDate) |
private boolean |
isMayoralElectionDateOk(java.time.LocalDateTime electionDate) |
void |
setAldermanElectionDate(java.time.LocalDateTime aldermanElectionDate)
Set the elederman election date and verify that there are no clashed with election dates.
|
void |
setElectionDate(java.time.LocalDateTime electionDate)
Set the election date and verify that there are no clashed with election dates.
|
void |
setHanseaticMeetingDate(Optional<java.time.LocalDateTime> meetingDate)
Set the hanseatic meeting date and verify that there are no clashed with election dates.
|
void |
setNextCouncilMeeting(Optional<java.time.LocalDateTime> nextCouncilMeeting)
Set the next council meeting date and verify that there are no clashed with election dates.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAlderman, getAldermanCandidates, getAldermanElectionDate, getAldermanOffice, getBallotResult, getCandidates, getCity, getCityGuard, getCouncilmen, getElectionDate, getElectionResult, getHanseaticMeetingDate, getMaxNumberMilita, getMayor, getNextCouncilMeeting, getNotices, getOutriggerContract, getPetition, getTreasury, setOutriggerContract, setPetitionprivate final javafx.collections.ObservableList<ICityHallNotice> notices
private Optional<IOutriggerContract> outriggerContract
private ICitizen mayor
private java.time.LocalDateTime electionDate
private Optional<java.time.LocalDateTime> nextCouncilMeeting
private Optional<ICityPetition> petition
private ICitizen alderman
private java.time.LocalDateTime aldermanElectionDate
@Autowired private AldermanCandidateList aldermanCandidates
private final ITreasury treasury
private final List<ICityGuard> cityGuard
private Optional<IAldermanOffice> aldermanOffice
private final ICity city
private Optional<java.time.LocalDateTime> hanseaticMeetingDate
private Optional<IElectionResult> electionResult
private int maxNumberMilita
@Autowired private DateService date
public void setAldermanElectionDate(java.time.LocalDateTime aldermanElectionDate)
aldermanElectionDate - public void setElectionDate(java.time.LocalDateTime electionDate)
electionDate - public void setNextCouncilMeeting(Optional<java.time.LocalDateTime> nextCouncilMeeting)
nextCouncilMeeting - public void setHanseaticMeetingDate(Optional<java.time.LocalDateTime> meetingDate)
meetingDate - private boolean isAldermanElectionDateOk(java.time.LocalDateTime electionDate)
private boolean isMayoralElectionDateOk(java.time.LocalDateTime electionDate)
private boolean isCouncilMeetingDateOk(java.time.LocalDateTime meetingDate)
private boolean isHanseaticMeetingDateOk(java.time.LocalDateTime meetingDate)
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.