|
||||||||||
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 |
getOpponentVotes()
Gets the opponent votes. |
VotePosition |
getWinningPosition()
Gets the winning position. |
long |
getWinningVotes()
Gets the winning votes. |
boolean |
isRebelVote(VoteData voteForParliamentMember)
Checks if is rebel vote. |
void |
setPoliticalPartyData(PoliticalPartyData politicalParty)
Sets the political party data. |
Methods inherited from interface com.hack23.cia.model.api.sweden.content.BaseBallotResultData |
---|
getAbsentVotes, getTotalVotes, newVote |
Methods inherited from interface com.hack23.cia.model.api.sweden.common.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 getOpponentVotes()
VotePosition getWinningPosition()
long getWinningVotes()
boolean isRebelVote(VoteData voteForParliamentMember)
voteForParliamentMember
- the vote for parliament member
void 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 |