|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BallotData extends ParliamentMappedData
The Interface BallotData.
Modifier and Type | Interface and Description |
---|
Nested classes/interfaces inherited from interface com.hack23.cia.model.api.sweden.common.ImportedData |
---|
ImportedData.ImportStatus |
Modifier and Type | Field and Description |
---|---|
static int |
TOTAL_VOTES
The TOTA l_ votes. |
Modifier and Type | Method and Description |
---|---|
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.ParliamentMappedData |
---|
dataCanBeUpdated, generatesParliamentMetaData, getParliamentMetaData |
Methods inherited from interface com.hack23.cia.model.api.sweden.common.ImportedData |
---|
getImportedDate, getImportStatus, 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 codeVoteData getVoteForParliamentMember(ParliamentMemberData parliamentMember)
parliamentMember
- the parliament memberString 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 |