com.hack23.cia.model.sweden.api
Interface ParliamentData

Package class diagram package ParliamentData
All Superinterfaces:
Data, ModelObject, PersistedModelObject, Resource, Serializable
All Known Implementing Classes:
Ballot, Committee, CommitteeReport, Election, Parliament, ParliamentMember, ParliamentYear, PoliticalParty, RegisterInformation, Vote

public interface ParliamentData
extends Data

The Interface ParliamentData.


Nested Class Summary
static class ParliamentData.ImportStatus
          The Enum ImportStatus.
 
Method Summary
 boolean dataCanBeUpdated()
          Data can be updated.
 boolean generatesParliamentMetaData()
          Generates parliament meta data.
 Date getImportedDate()
          Gets the imported date.
 ParliamentData.ImportStatus getImportStatus()
          Gets the import status.
 ParliamentMetaData getParliamentMetaData()
          Gets the parliament meta data.
 void setImportedDate(Date importedDate)
          Sets the imported date.
 void setImportStatus(ParliamentData.ImportStatus importStatus)
          Sets the import status.
 
Methods inherited from interface com.hack23.cia.model.common.api.Resource
getResourceType, setResourceType
 
Methods inherited from interface com.hack23.cia.model.common.api.PersistedModelObject
getId, getVersion, isNew, setId, setVersion
 

Method Detail

dataCanBeUpdated

boolean dataCanBeUpdated()
Data can be updated.

Returns:
true, if successful

generatesParliamentMetaData

boolean generatesParliamentMetaData()
Generates parliament meta data.

Returns:
true, if successful

getImportedDate

Date getImportedDate()
Gets the imported date.

Returns:
the imported date

getImportStatus

ParliamentData.ImportStatus getImportStatus()
Gets the import status.

Returns:
the import status

getParliamentMetaData

ParliamentMetaData getParliamentMetaData()
Gets the parliament meta data.

Returns:
the parliament meta data

setImportedDate

void setImportedDate(Date importedDate)
Sets the imported date.

Parameters:
importedDate - the new imported date

setImportStatus

void setImportStatus(ParliamentData.ImportStatus importStatus)
Sets the import status.

Parameters:
importStatus - the new import status


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