|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface PartyBallotResultData
The Interface PartyBallotResultData.
| Method Summary | |
|---|---|
void |
calcWinningPosition()
Calc winning position. |
long |
getAbsentVotes()
Gets the absent votes. |
long |
getOpponentVotes()
Gets the opponent votes. |
long |
getTotalVotes()
Gets the total votes. |
VotePosition |
getWinningPosition()
Gets the winning position. |
long |
getWinningVotes()
Gets the winning votes. |
boolean |
isRebelVote(VoteData voteForParliamentMember)
Checks if is rebel vote. |
void |
newVote(VoteData vote)
New vote. |
void |
setPoliticalPartyData(PoliticalPartyData politicalParty)
Sets the political party data. |
| Methods inherited from interface com.hack23.cia.model.api.sweden.ParliamentMetaData |
|---|
getCreatedDate |
| Methods inherited from interface com.hack23.cia.model.api.common.Resource |
|---|
getResourceType |
| Methods inherited from interface com.hack23.cia.model.api.common.PersistedModelObject |
|---|
getId, getTypeContext, getVersion, isNew, setId, setVersion |
| Method Detail |
|---|
void calcWinningPosition()
long getAbsentVotes()
long getOpponentVotes()
long getTotalVotes()
VotePosition getWinningPosition()
long getWinningVotes()
boolean isRebelVote(VoteData voteForParliamentMember)
voteForParliamentMember - the vote for parliament member
void newVote(VoteData vote)
vote - the votevoid setPoliticalPartyData(PoliticalPartyData politicalParty)
politicalParty - the new political party data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||