| Modifier and Type | Field and Description |
|---|---|
private ICitizen |
alderman |
private AldermanCandidateList |
aldermanCandidates |
private org.joda.time.DateTime |
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 org.joda.time.DateTime |
electionDate |
private Optional<IElectionResult> |
electionResult |
private Optional<org.joda.time.DateTime> |
hanseaticMeetingDate |
private int |
maxNumberMilita |
private ICitizen |
mayor |
private Optional<org.joda.time.DateTime> |
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(org.joda.time.DateTime electionDate) |
private boolean |
isCouncilMeetingDateOk(org.joda.time.DateTime meetingDate) |
private boolean |
isHanseaticMeetingDateOk(org.joda.time.DateTime meetingDate) |
private boolean |
isMayoralElectionDateOk(org.joda.time.DateTime electionDate) |
void |
setAldermanElectionDate(org.joda.time.DateTime aldermanElectionDate)
Set the elederman election date and verify that there are no clashed with election dates.
|
void |
setElectionDate(org.joda.time.DateTime electionDate)
Set the election date and verify that there are no clashed with election dates.
|
void |
setHanseaticMeetingDate(Optional<org.joda.time.DateTime> meetingDate)
Set the hanseatic meeting date and verify that there are no clashed with election dates.
|
void |
setNextCouncilMeeting(Optional<org.joda.time.DateTime> 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 org.joda.time.DateTime electionDate
private Optional<org.joda.time.DateTime> nextCouncilMeeting
private Optional<ICityPetition> petition
private ICitizen alderman
private org.joda.time.DateTime aldermanElectionDate
@Autowired private AldermanCandidateList aldermanCandidates
private final ITreasury treasury
private final List<ICityGuard> cityGuard
private Optional<IAldermanOffice> aldermanOffice
private final ICity city
private Optional<org.joda.time.DateTime> hanseaticMeetingDate
private Optional<IElectionResult> electionResult
private int maxNumberMilita
@Autowired private DateService date
public void setAldermanElectionDate(org.joda.time.DateTime aldermanElectionDate)
aldermanElectionDate - public void setElectionDate(org.joda.time.DateTime electionDate)
electionDate - public void setNextCouncilMeeting(Optional<org.joda.time.DateTime> nextCouncilMeeting)
nextCouncilMeeting - public void setHanseaticMeetingDate(Optional<org.joda.time.DateTime> meetingDate)
meetingDate - private boolean isAldermanElectionDateOk(org.joda.time.DateTime electionDate)
private boolean isMayoralElectionDateOk(org.joda.time.DateTime electionDate)
private boolean isCouncilMeetingDateOk(org.joda.time.DateTime meetingDate)
private boolean isHanseaticMeetingDateOk(org.joda.time.DateTime meetingDate)
Copyright © 2011-2016 Sahits GmbH. All Rights Reserved.