Interface ValApi
public interface ValApi
The Interface ValApi.
-
Method Summary
Modifier and TypeMethodDescriptionList<com.hack23.cia.model.external.val.landstingvalkrets.impl.SwedenCountyElectoralRegion>Gets the county electoral regions.List<com.hack23.cia.model.external.val.kommunvalkrets.impl.SwedenCountyData>Gets the county regions.List<com.hack23.cia.model.external.val.partier.impl.SwedenElectionType>Gets the election types.List<com.hack23.cia.model.external.val.riksdagsvalkrets.impl.SwedenParliamentElectoralRegion>Gets the parliament electoral regions.com.hack23.cia.model.external.val.partier.impl.SwedenElectionRegionGets the sweden election region.List<com.hack23.cia.model.external.val.partier.impl.SwedenPoliticalParty>Gets the sweden political parties.
-
Method Details
-
getElectionTypes
List<com.hack23.cia.model.external.val.partier.impl.SwedenElectionType> getElectionTypes() throws ValApiExceptionGets the election types.- Returns:
- the election types
- Throws:
Exception- the exceptionValApiException
-
getParliamentElectoralRegions
List<com.hack23.cia.model.external.val.riksdagsvalkrets.impl.SwedenParliamentElectoralRegion> getParliamentElectoralRegions() throws ValApiExceptionGets the parliament electoral regions.- Returns:
- the parliament electoral regions
- Throws:
Exception- the exceptionValApiException
-
getCountyElectoralRegions
List<com.hack23.cia.model.external.val.landstingvalkrets.impl.SwedenCountyElectoralRegion> getCountyElectoralRegions() throws ValApiExceptionGets the county electoral regions.- Returns:
- the county electoral regions
- Throws:
Exception- the exceptionValApiException
-
getCountyRegions
List<com.hack23.cia.model.external.val.kommunvalkrets.impl.SwedenCountyData> getCountyRegions() throws ValApiExceptionGets the county regions.- Returns:
- the county regions
- Throws:
Exception- the exceptionValApiException
-
getSwedenElectionRegion
com.hack23.cia.model.external.val.partier.impl.SwedenElectionRegion getSwedenElectionRegion() throws ValApiExceptionGets the sweden election region.- Returns:
- the sweden election region
- Throws:
ValApiException
-
getSwedenPoliticalParties
List<com.hack23.cia.model.external.val.partier.impl.SwedenPoliticalParty> getSwedenPoliticalParties() throws ValApiExceptionGets the sweden political parties.- Returns:
- the sweden political parties
- Throws:
ValApiException
-