com.hack23.cia.model.api.sweden.factory
Interface SwedenModelFactory

Package class diagram package SwedenModelFactory
All Superinterfaces:
ModelFactory
All Known Implementing Classes:
SwedenModelFactoryImpl

public interface SwedenModelFactory
extends ModelFactory

A factory for creating SwedenModel objects.


Method Summary
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

createBallotData

BallotData createBallotData()
Creates a new SwedenModel object.

Returns:
the ballot data

createBallotResultData

BallotResultData createBallotResultData()
Creates a new SwedenModel object.

Returns:
the ballot result data

createCommitteeData

CommitteeData createCommitteeData(String name,
                                  String shortCode)
Creates a new SwedenModel object.

Parameters:
name - the name
shortCode - the short code
Returns:
the committee data

createCommitteeReportData

CommitteeReportData createCommitteeReportData(String name,
                                              String shortCode,
                                              ParliamentYearData parliamentYearData)
Creates a new SwedenModel object.

Parameters:
name - the name
shortCode - the short code
parliamentYearData - the parliament year data
Returns:
the committee report data

createParliamentData

ParliamentData createParliamentData()
Creates a new SwedenModel object.

Returns:
the parliament data

createParliamentMember

ParliamentMemberData createParliamentMember()
Creates a new SwedenModel object.

Returns:
the parliament member data

createParliamentMemberBallotRecordData

ParliamentMemberBallotRecordData createParliamentMemberBallotRecordData()
Creates a new SwedenModel object.

Returns:
the parliament member ballot record data

createParliamentMemberVoteCompareResult

ParliamentMemberVoteCompareResultData createParliamentMemberVoteCompareResult(Date date,
                                                                              int total,
                                                                              float result,
                                                                              ParliamentMemberData parliamentMember,
                                                                              ParliamentMemberData parliamentMember2)
Creates a new SwedenModel object.

Parameters:
date - the date
total - the total
result - the result
parliamentMember - the parliament member
parliamentMember2 - the parliament member2
Returns:
the parliament member vote compare result data

createParliamentYearData

ParliamentYearData createParliamentYearData()
Creates a new SwedenModel object.

Returns:
the parliament year data

createPartyBallotResultData

PartyBallotResultData createPartyBallotResultData()
Creates a new SwedenModel object.

Returns:
the party ballot result data

createPoliticalPartyData

PoliticalPartyData createPoliticalPartyData()
Creates a new SwedenModel object.

Returns:
the political party data

createRegisterInformationData

RegisterInformationData createRegisterInformationData()
Creates a new SwedenModel object.

Returns:
the register information data

createVoteData

VoteData createVoteData(ParliamentMemberData parliamentMember)
Creates a new SwedenModel object.

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

createVoteParliamentMetaData

VoteMetaDataData createVoteParliamentMetaData()
Creates a new SwedenModel object.

Returns:
the vote meta data data

getBallotDataSpec

Class<? extends BallotData> getBallotDataSpec()
Gets the ballot data spec.

Returns:
the ballot data spec

getCommitteeDataSpec

Class<? extends CommitteeData> getCommitteeDataSpec()
Gets the committee data spec.

Returns:
the committee data spec

getCommitteeReportDataSpec

Class<? extends CommitteeReportData> getCommitteeReportDataSpec()
Gets the committee report data spec.

Returns:
the committee report data spec

getElectionDataSpec

Class<? extends ElectionData> getElectionDataSpec()
Gets the election data spec.

Returns:
the election data spec

getParliamentDataSpec

Class<? extends ParliamentData> getParliamentDataSpec()
Gets the parliament data spec.

Returns:
the parliament data spec

getParliamentMemberDataSpec

Class<? extends ParliamentMemberData> getParliamentMemberDataSpec()
Gets the parliament member data spec.

Returns:
the parliament member data spec

getParliamentMemberVoteCompareResultDataSpec

Class<? extends ParliamentMemberVoteCompareResultData> getParliamentMemberVoteCompareResultDataSpec()
Gets the parliament member vote compare result data spec.

Returns:
the parliament member vote compare result data spec

getParliamentYearDataSpec

Class<? extends ParliamentYearData> getParliamentYearDataSpec()
Gets the parliament year data spec.

Returns:
the parliament year data spec

getPoliticalPartyDataSpec

Class<? extends PoliticalPartyData> getPoliticalPartyDataSpec()
Gets the political party data spec.

Returns:
the political party data spec

getTheRiksdagSpec

Class<? extends ParliamentData> getTheRiksdagSpec()
Gets the the riksdag spec.

Returns:
the the riksdag spec

getVoteDataSpec

Class<? extends VoteData> getVoteDataSpec()
Gets the vote data spec.

Returns:
the vote data spec

createOperationalStatement

OperationalStatementData createOperationalStatement(String authoritySubsidyId,
                                                    String name,
                                                    String yearCell,
                                                    OperationalStatementData.Month month,
                                                    double result)
Creates a new SwedenModel object.

Parameters:
authoritySubsidyId - the authority subsidy id
name - the name
yearCell - the year cell
month - the month
result - the result
Returns:
the operational statement data

createDepartmentData

DepartmentData createDepartmentData(String year,
                                    String governmentDepartment)
Creates a new SwedenModel object.

Parameters:
year - the year
governmentDepartment - the government department
Returns:
the department data


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