com.hack23.cia.model.api.sweden.content
Interface BaseBallotResultData

Package class diagram package BaseBallotResultData
All Superinterfaces:
Data, MetaData, ModelObject, ParliamentMetaData, PersistedModelObject, Resource, Serializable
All Known Subinterfaces:
BallotResultData, PartyBallotResultData
All Known Implementing Classes:
AbstractBallotMetaData, AbstractBallotResult, BallotResult, ParliamentMemberBallotRecord, PartyBallotResult

public interface BaseBallotResultData
extends ParliamentMetaData

The Interface BaseBallotResultData.


Method Summary
 long getAbsentVotes()
          Gets the absent votes.
 long getTotalVotes()
          Gets the total votes.
 void newVote(VoteData vote)
          New vote.
 
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

getAbsentVotes

long getAbsentVotes()
Gets the absent votes.

Returns:
the absent votes

getTotalVotes

long getTotalVotes()
Gets the total votes.

Returns:
the total votes

newVote

void newVote(VoteData vote)
New vote.

Parameters:
vote - the vote


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