|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcom.hack23.cia.model.common.impl.BaseEntity
com.hack23.cia.model.sweden.impl.ParliamentYear
@Entity public class ParliamentYear
The Class ParliamentYear.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.hack23.cia.model.sweden.api.ParliamentData |
|---|
ParliamentData.ImportStatus |
| Constructor Summary | |
|---|---|
ParliamentYear()
Instantiates a new parliament year. |
|
| Method Summary | |
|---|---|
boolean |
dataCanBeUpdated()
Data can be updated. |
boolean |
generatesParliamentMetaData()
Generates parliament meta data. |
Set<CommitteeReport> |
getCommitteeReports()
Gets the committee reports. |
boolean |
getCurrentYear()
Gets the current year. |
boolean |
getDataCompleted()
Gets the data completed. |
boolean |
getDataUpdating()
Gets the data updating. |
Long |
getId()
Gets the id. |
boolean |
getImportData()
Gets the import data. |
Date |
getImportedDate()
Gets the imported date. |
ParliamentData.ImportStatus |
getImportStatus()
Gets the import status. |
String |
getName()
Gets the name. |
ParliamentMetaData |
getParliamentMetaData()
Gets the parliament meta data. |
ResourceType |
getResourceType()
Gets the resource type. |
String |
getShortCode()
Gets the short code. |
Long |
getVersion()
Gets the version. |
void |
setCommitteeReports(Set<CommitteeReport> committeeReports)
Sets the committee reports. |
void |
setCurrentYear(boolean currentYear)
Sets the current year. |
void |
setDataCompleted(boolean dataCompleted)
Sets the data completed. |
void |
setDataUpdating(boolean dataUpdating)
Sets the data updating. |
void |
setId(Long id)
Sets the id. |
void |
setImportData(boolean importData)
Sets the import data. |
void |
setImportedDate(Date importedDate)
Sets the imported date. |
void |
setImportStatus(ParliamentData.ImportStatus importStatus)
Sets the import status. |
void |
setName(String name)
Sets the name. |
void |
setResourceType(ResourceType resourceType)
Sets the resource type. |
void |
setShortCode(String shortCode)
Sets the short code. |
void |
setVersion(Long version)
Sets the version. |
| Methods inherited from class com.hack23.cia.model.common.impl.BaseEntity |
|---|
equals, hashCode, isNew |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.hack23.cia.model.common.api.PersistedModelObject |
|---|
isNew |
| Constructor Detail |
|---|
public ParliamentYear()
| Method Detail |
|---|
public boolean dataCanBeUpdated()
ParliamentData
dataCanBeUpdated in interface ParliamentDatapublic boolean generatesParliamentMetaData()
ParliamentData
generatesParliamentMetaData in interface ParliamentDatapublic Set<CommitteeReport> getCommitteeReports()
public boolean getCurrentYear()
public boolean getDataCompleted()
public boolean getDataUpdating()
public Long getId()
BaseEntity
getId in interface PersistedModelObjectgetId in class BaseEntitypublic boolean getImportData()
public Date getImportedDate()
ParliamentData
getImportedDate in interface ParliamentDatapublic ParliamentData.ImportStatus getImportStatus()
ParliamentData
getImportStatus in interface ParliamentDatapublic String getName()
public ParliamentMetaData getParliamentMetaData()
ParliamentData
getParliamentMetaData in interface ParliamentDatapublic ResourceType getResourceType()
Resource
getResourceType in interface Resourcepublic String getShortCode()
public Long getVersion()
BaseEntity
getVersion in interface PersistedModelObjectgetVersion in class BaseEntitypublic void setCommitteeReports(Set<CommitteeReport> committeeReports)
committeeReports - the new committee reportspublic void setCurrentYear(boolean currentYear)
currentYear - the new current yearpublic void setDataCompleted(boolean dataCompleted)
dataCompleted - the new data completedpublic void setDataUpdating(boolean dataUpdating)
dataUpdating - the new data updatingpublic void setId(Long id)
PersistedModelObject
setId in interface PersistedModelObjectid - the new idpublic void setImportData(boolean importData)
importData - the new import datapublic void setImportedDate(Date importedDate)
ParliamentData
setImportedDate in interface ParliamentDataimportedDate - the new imported datepublic void setImportStatus(ParliamentData.ImportStatus importStatus)
ParliamentData
setImportStatus in interface ParliamentDataimportStatus - the new import statuspublic void setName(String name)
name - the new namepublic void setResourceType(ResourceType resourceType)
Resource
setResourceType in interface ResourceresourceType - the new resource typepublic void setShortCode(String shortCode)
shortCode - the new short codepublic void setVersion(Long version)
PersistedModelObject
setVersion in interface PersistedModelObjectversion - the new version
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||