|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BallotData
The Interface BallotData.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.hack23.cia.model.api.sweden.common.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.common.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 |
---|
static final int TOTAL_VOTES
Method Detail |
---|
void addPartyBallotResultData(PartyBallotResultData partyBallotResult)
partyBallotResult
- the party ballot resultvoid addVoteData(VoteData vote)
vote
- the voteBallotResultData getBallotResultData()
BaseBallotResultData getBaseBallotResultData()
CommitteeReportData getCommiteeReportData()
Date getDatum()
String getDescription()
String getOverviewHref()
PartyBallotResultData getPartyBallotResult(String shortCode)
shortCode
- the short code
VoteData getVoteForParliamentMember(ParliamentMemberData parliamentMember)
parliamentMember
- the parliament member
String getVoteResultsHref()
List<VoteData> getVotesData()
void setBallotResultData(BallotResultData ballotResult)
ballotResult
- the new ballot result datavoid setCommiteeReportData(CommitteeReportData commiteeReport)
commiteeReport
- the new commitee report datavoid setDatum(Date decidedDateIfAny)
decidedDateIfAny
- the new datumvoid setDescription(String asText)
asText
- the new descriptionvoid setOverviewHref(String hrefAttribute)
hrefAttribute
- the new overview hrefvoid setVoteResultsHref(String string)
string
- the new vote results href
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |