|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SwedenModelFactory extends ModelFactory
A factory for creating SwedenModel objects.
Modifier and Type | Method and Description |
---|---|
BallotData |
createBallotData()
Creates a new SwedenModel object. |
BallotResultData |
createBallotResultData()
Creates a new SwedenModel object. |
CommitteeData |
createCommitteeData(String name,
String shortCode)
Creates a new SwedenModel object. |
CommitteeReportData |
createCommitteeReportData(String name,
String shortCode,
ParliamentYearData parliamentYearData)
Creates a new SwedenModel object. |
DepartmentData |
createDepartmentData(String year,
String governmentDepartment)
Creates a new SwedenModel object. |
OperationalStatementData |
createOperationalStatement(String authoritySubsidyId,
String name,
String yearCell,
OperationalStatementData.Month month,
double result)
Creates a new SwedenModel object. |
ParliamentData |
createParliamentData()
Creates a new SwedenModel object. |
ParliamentMemberData |
createParliamentMember()
Creates a new SwedenModel object. |
ParliamentMemberBallotRecordData |
createParliamentMemberBallotRecordData()
Creates a new SwedenModel object. |
ParliamentMemberVoteCompareResultData |
createParliamentMemberVoteCompareResult(Date date,
int total,
float result,
ParliamentMemberData parliamentMember,
ParliamentMemberData parliamentMember2)
Creates a new SwedenModel object. |
ParliamentYearData |
createParliamentYearData()
Creates a new SwedenModel object. |
PartyBallotResultData |
createPartyBallotResultData()
Creates a new SwedenModel object. |
PoliticalPartyData |
createPoliticalPartyData()
Creates a new SwedenModel object. |
RegisterInformationData |
createRegisterInformationData()
Creates a new SwedenModel object. |
VoteData |
createVoteData(ParliamentMemberData parliamentMember)
Creates a new SwedenModel object. |
VoteMetaDataData |
createVoteParliamentMetaData()
Creates a new SwedenModel object. |
Class<? extends BallotData> |
getBallotDataSpec()
Gets the ballot data spec. |
Class<? extends CommitteeData> |
getCommitteeDataSpec()
Gets the committee data spec. |
Class<? extends CommitteeReportData> |
getCommitteeReportDataSpec()
Gets the committee report data spec. |
Class<? extends ElectionData> |
getElectionDataSpec()
Gets the election data spec. |
Class<? extends ParliamentData> |
getParliamentDataSpec()
Gets the parliament data spec. |
Class<? extends ParliamentMemberData> |
getParliamentMemberDataSpec()
Gets the parliament member data spec. |
Class<? extends ParliamentMemberVoteCompareResultData> |
getParliamentMemberVoteCompareResultDataSpec()
Gets the parliament member vote compare result data spec. |
Class<? extends ParliamentYearData> |
getParliamentYearDataSpec()
Gets the parliament year data spec. |
Class<? extends PoliticalPartyData> |
getPoliticalPartyDataSpec()
Gets the political party data spec. |
Class<? extends ParliamentData> |
getTheRiksdagSpec()
Gets the the riksdag spec. |
Class<? extends VoteData> |
getVoteDataSpec()
Gets the vote data spec. |
Method Detail |
---|
BallotData createBallotData()
BallotResultData createBallotResultData()
CommitteeData createCommitteeData(String name, String shortCode)
name
- the nameshortCode
- the short codeCommitteeReportData createCommitteeReportData(String name, String shortCode, ParliamentYearData parliamentYearData)
name
- the nameshortCode
- the short codeparliamentYearData
- the parliament year dataParliamentData createParliamentData()
ParliamentMemberData createParliamentMember()
ParliamentMemberBallotRecordData createParliamentMemberBallotRecordData()
ParliamentMemberVoteCompareResultData createParliamentMemberVoteCompareResult(Date date, int total, float result, ParliamentMemberData parliamentMember, ParliamentMemberData parliamentMember2)
date
- the datetotal
- the totalresult
- the resultparliamentMember
- the parliament memberparliamentMember2
- the parliament member2ParliamentYearData createParliamentYearData()
PartyBallotResultData createPartyBallotResultData()
PoliticalPartyData createPoliticalPartyData()
RegisterInformationData createRegisterInformationData()
VoteData createVoteData(ParliamentMemberData parliamentMember)
parliamentMember
- the parliament memberVoteMetaDataData createVoteParliamentMetaData()
Class<? extends BallotData> getBallotDataSpec()
Class<? extends CommitteeData> getCommitteeDataSpec()
Class<? extends CommitteeReportData> getCommitteeReportDataSpec()
Class<? extends ElectionData> getElectionDataSpec()
Class<? extends ParliamentData> getParliamentDataSpec()
Class<? extends ParliamentMemberData> getParliamentMemberDataSpec()
Class<? extends ParliamentMemberVoteCompareResultData> getParliamentMemberVoteCompareResultDataSpec()
Class<? extends ParliamentYearData> getParliamentYearDataSpec()
Class<? extends PoliticalPartyData> getPoliticalPartyDataSpec()
Class<? extends ParliamentData> getTheRiksdagSpec()
Class<? extends VoteData> getVoteDataSpec()
OperationalStatementData createOperationalStatement(String authoritySubsidyId, String name, String yearCell, OperationalStatementData.Month month, double result)
authoritySubsidyId
- the authority subsidy idname
- the nameyearCell
- the year cellmonth
- the monthresult
- the resultDepartmentData createDepartmentData(String year, String governmentDepartment)
year
- the yeargovernmentDepartment
- the government department
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |