com.hack23.cia.model.api.sweden
Interface BallotResultData

Package class diagram package BallotResultData
All Superinterfaces:
BaseBallotResultData, Data, MetaData, ModelObject, ParliamentMetaData, PersistedModelObject, Resource, Serializable
All Known Implementing Classes:
BallotResult

public interface BallotResultData
extends BaseBallotResultData

The Interface BallotResultData.


Method Summary
 void calcWinningPosition()
          Calc winning position.
 VotePosition getWinningPosition()
          Gets the winning position.
 boolean isLosingVote(VoteData vote)
          Checks if is losing vote.
 void newVote(VoteData vote)
          New vote.
 
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

calcWinningPosition

void calcWinningPosition()
Calc winning position.


getWinningPosition

VotePosition getWinningPosition()
Gets the winning position.

Returns:
the winning position

isLosingVote

boolean isLosingVote(VoteData vote)
Checks if is losing vote.

Parameters:
vote - the vote
Returns:
true, if is losing vote

newVote

void newVote(VoteData vote)
New vote.

Parameters:
vote - the vote


Copyright © 2008-2009 www.hack23.com. All Rights Reserved.