|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.impl.common.AbstractModelFactoryImpl com.hack23.cia.model.impl.sweden.factory.SwedenModelFactoryImpl
public class SwedenModelFactoryImpl extends AbstractModelFactoryImpl implements SwedenModelFactory
The Class SwedenModelFactoryImpl.
Constructor and Description |
---|
SwedenModelFactoryImpl()
Instantiates a new sweden model factory impl. |
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 year,
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SwedenModelFactoryImpl()
Method Detail |
---|
public final BallotData createBallotData()
SwedenModelFactory
createBallotData
in interface SwedenModelFactory
public final BallotResultData createBallotResultData()
SwedenModelFactory
createBallotResultData
in interface SwedenModelFactory
public final CommitteeData createCommitteeData(String name, String shortCode)
SwedenModelFactory
createCommitteeData
in interface SwedenModelFactory
name
- the nameshortCode
- the short codepublic final CommitteeReportData createCommitteeReportData(String name, String shortCode, ParliamentYearData parliamentYearData)
SwedenModelFactory
createCommitteeReportData
in interface SwedenModelFactory
name
- the nameshortCode
- the short codeparliamentYearData
- the parliament year datapublic final ParliamentData createParliamentData()
SwedenModelFactory
createParliamentData
in interface SwedenModelFactory
public final ParliamentMemberData createParliamentMember()
SwedenModelFactory
createParliamentMember
in interface SwedenModelFactory
public final ParliamentMemberBallotRecordData createParliamentMemberBallotRecordData()
SwedenModelFactory
createParliamentMemberBallotRecordData
in interface SwedenModelFactory
public final ParliamentMemberVoteCompareResultData createParliamentMemberVoteCompareResult(Date date, int total, float result, ParliamentMemberData parliamentMember, ParliamentMemberData parliamentMember2)
SwedenModelFactory
createParliamentMemberVoteCompareResult
in interface SwedenModelFactory
date
- the datetotal
- the totalresult
- the resultparliamentMember
- the parliament memberparliamentMember2
- the parliament member2public final ParliamentYearData createParliamentYearData()
SwedenModelFactory
createParliamentYearData
in interface SwedenModelFactory
public final PartyBallotResultData createPartyBallotResultData()
SwedenModelFactory
createPartyBallotResultData
in interface SwedenModelFactory
public final PoliticalPartyData createPoliticalPartyData()
SwedenModelFactory
createPoliticalPartyData
in interface SwedenModelFactory
public final RegisterInformationData createRegisterInformationData()
SwedenModelFactory
createRegisterInformationData
in interface SwedenModelFactory
public final VoteData createVoteData(ParliamentMemberData parliamentMember)
SwedenModelFactory
createVoteData
in interface SwedenModelFactory
parliamentMember
- the parliament memberpublic final VoteMetaDataData createVoteParliamentMetaData()
SwedenModelFactory
createVoteParliamentMetaData
in interface SwedenModelFactory
public final Class<? extends BallotData> getBallotDataSpec()
SwedenModelFactory
getBallotDataSpec
in interface SwedenModelFactory
public final Class<? extends CommitteeData> getCommitteeDataSpec()
SwedenModelFactory
getCommitteeDataSpec
in interface SwedenModelFactory
public final Class<? extends CommitteeReportData> getCommitteeReportDataSpec()
SwedenModelFactory
getCommitteeReportDataSpec
in interface SwedenModelFactory
public final Class<? extends ElectionData> getElectionDataSpec()
SwedenModelFactory
getElectionDataSpec
in interface SwedenModelFactory
public final Class<? extends ParliamentData> getParliamentDataSpec()
SwedenModelFactory
getParliamentDataSpec
in interface SwedenModelFactory
public final Class<? extends ParliamentMemberData> getParliamentMemberDataSpec()
SwedenModelFactory
getParliamentMemberDataSpec
in interface SwedenModelFactory
public final Class<? extends ParliamentMemberVoteCompareResultData> getParliamentMemberVoteCompareResultDataSpec()
SwedenModelFactory
getParliamentMemberVoteCompareResultDataSpec
in interface SwedenModelFactory
public final Class<? extends ParliamentYearData> getParliamentYearDataSpec()
SwedenModelFactory
getParliamentYearDataSpec
in interface SwedenModelFactory
public final Class<? extends PoliticalPartyData> getPoliticalPartyDataSpec()
SwedenModelFactory
getPoliticalPartyDataSpec
in interface SwedenModelFactory
public final Class<? extends ParliamentData> getTheRiksdagSpec()
SwedenModelFactory
getTheRiksdagSpec
in interface SwedenModelFactory
public final Class<? extends VoteData> getVoteDataSpec()
SwedenModelFactory
getVoteDataSpec
in interface SwedenModelFactory
public OperationalStatementData createOperationalStatement(String authoritySubsidyId, String name, String year, OperationalStatementData.Month month, double result)
SwedenModelFactory
createOperationalStatement
in interface SwedenModelFactory
authoritySubsidyId
- the authority subsidy idname
- the nameyear
- the year cellmonth
- the monthresult
- the resultpublic DepartmentData createDepartmentData(String year, String governmentDepartment)
SwedenModelFactory
createDepartmentData
in interface SwedenModelFactory
year
- the yeargovernmentDepartment
- the government department
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |