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

Package class diagram package BallotData
All Superinterfaces:
Data, ModelObject, ParliamentImportedData, ParliamentMappedData, PersistedModelObject, Resource, Serializable
All Known Implementing Classes:
Ballot

public interface BallotData
extends ParliamentImportedData

The Interface BallotData.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hack23.cia.model.api.sweden.ParliamentImportedData
ParliamentImportedData.ImportStatus
 
Field Summary
static int TOTAL_VOTES
          The TOTA l_ votes.
 
Method Summary
 void addPartyBallotResultData(PartyBallotResultData partyBallotResult)
          Adds the party ballot result data.
 void addVoteData(VoteData vote)
          Adds the vote data.
 BallotResultData getBallotResultData()
          Gets the ballot result data.
 BaseBallotResultData getBaseBallotResultData()
          Gets the base ballot result data.
 CommitteeReportData getCommiteeReportData()
          Gets the commitee report data.
 Date getDatum()
          Gets the datum.
 String getDescription()
          Gets the description.
 String getOverviewHref()
          Gets the overview href.
 PartyBallotResultData getPartyBallotResult(String shortCode)
          Gets the party ballot result.
 VoteData getVoteForParliamentMember(ParliamentMemberData parliamentMember)
          Gets the vote for parliament member.
 String getVoteResultsHref()
          Gets the vote results href.
 List<VoteData> getVotesData()
          Gets the votes data.
 void setBallotResultData(BallotResultData ballotResult)
          Sets the ballot result data.
 void setCommiteeReportData(CommitteeReportData commiteeReport)
          Sets the commitee report data.
 void setDatum(Date decidedDateIfAny)
          Sets the datum.
 void setDescription(String asText)
          Sets the description.
 void setOverviewHref(String hrefAttribute)
          Sets the overview href.
 void setVoteResultsHref(String string)
          Sets the vote results href.
 
Methods inherited from interface com.hack23.cia.model.api.sweden.ParliamentImportedData
dataCanBeUpdated, generatesParliamentMetaData, getImportedDate, getImportStatus, getParliamentMetaData, setImportedDate, setImportStatus
 
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
 

Field Detail

TOTAL_VOTES

static final int TOTAL_VOTES
The TOTA l_ votes.

See Also:
Constant Field Values
Method Detail

addPartyBallotResultData

void addPartyBallotResultData(PartyBallotResultData partyBallotResult)
Adds the party ballot result data.

Parameters:
partyBallotResult - the party ballot result

addVoteData

void addVoteData(VoteData vote)
Adds the vote data.

Parameters:
vote - the vote

getBallotResultData

BallotResultData getBallotResultData()
Gets the ballot result data.

Returns:
the ballot result data

getBaseBallotResultData

BaseBallotResultData getBaseBallotResultData()
Gets the base ballot result data.

Returns:
the base ballot result data

getCommiteeReportData

CommitteeReportData getCommiteeReportData()
Gets the commitee report data.

Returns:
the commitee report data

getDatum

Date getDatum()
Gets the datum.

Returns:
the datum

getDescription

String getDescription()
Gets the description.

Returns:
the description

getOverviewHref

String getOverviewHref()
Gets the overview href.

Returns:
the overview href

getPartyBallotResult

PartyBallotResultData getPartyBallotResult(String shortCode)
Gets the party ballot result.

Parameters:
shortCode - the short code
Returns:
the party ballot result

getVoteForParliamentMember

VoteData getVoteForParliamentMember(ParliamentMemberData parliamentMember)
Gets the vote for parliament member.

Parameters:
parliamentMember - the parliament member
Returns:
the vote for parliament member

getVoteResultsHref

String getVoteResultsHref()
Gets the vote results href.

Returns:
the vote results href

getVotesData

List<VoteData> getVotesData()
Gets the votes data.

Returns:
the votes data

setBallotResultData

void setBallotResultData(BallotResultData ballotResult)
Sets the ballot result data.

Parameters:
ballotResult - the new ballot result data

setCommiteeReportData

void setCommiteeReportData(CommitteeReportData commiteeReport)
Sets the commitee report data.

Parameters:
commiteeReport - the new commitee report data

setDatum

void setDatum(Date decidedDateIfAny)
Sets the datum.

Parameters:
decidedDateIfAny - the new datum

setDescription

void setDescription(String asText)
Sets the description.

Parameters:
asText - the new description

setOverviewHref

void setOverviewHref(String hrefAttribute)
Sets the overview href.

Parameters:
hrefAttribute - the new overview href

setVoteResultsHref

void setVoteResultsHref(String string)
Sets the vote results href.

Parameters:
string - the new vote results href


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