|
||||||||||
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.BaseEntity com.hack23.cia.model.impl.sweden.ParliamentYear
@Entity public class ParliamentYear
The Class ParliamentYear.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.hack23.cia.model.api.sweden.ParliamentImportedData |
---|
ParliamentImportedData.ImportStatus |
Constructor Summary | |
---|---|
ParliamentYear()
Instantiates a new parliament year. |
Method Summary | |
---|---|
boolean |
dataCanBeUpdated()
Data can be updated. |
boolean |
generatesParliamentMetaData()
Generates parliament meta data. |
protected TypeContext |
getApplicationTypeContext()
Gets the application group specification. |
boolean |
getCurrentYear()
Gets the current year. |
boolean |
getDataCompleted()
Gets the data completed. |
boolean |
getDataUpdating()
Gets the data updating. |
Date |
getEndDate()
Gets the end date. |
Long |
getId()
Gets the id. |
boolean |
getImportData()
Gets the import data. |
Date |
getImportedDate()
Gets the imported date. |
ParliamentImportedData.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. |
Date |
getStartDate()
Gets the start date. |
Long |
getVersion()
Gets the version. |
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 |
setEndDate(Date endDate)
Sets the end date. |
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(ParliamentImportedData.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 |
setStartDate(Date startDate)
Sets the start date. |
void |
setVersion(Long version)
Sets the version. |
Methods inherited from class com.hack23.cia.model.impl.common.BaseEntity |
---|
equals, getTypeContext, 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.api.common.PersistedModelObject |
---|
getTypeContext, isNew |
Constructor Detail |
---|
public ParliamentYear()
Method Detail |
---|
public boolean dataCanBeUpdated()
ParliamentImportedData
dataCanBeUpdated
in interface ParliamentImportedData
public boolean generatesParliamentMetaData()
ParliamentImportedData
generatesParliamentMetaData
in interface ParliamentImportedData
public boolean getCurrentYear()
public boolean getDataCompleted()
public boolean getDataUpdating()
ParliamentYearData
getDataUpdating
in interface ParliamentYearData
public Date getEndDate()
ParliamentYearData
getEndDate
in interface ParliamentYearData
public Long getId()
BaseEntity
getId
in interface PersistedModelObject
getId
in class BaseEntity
public boolean getImportData()
ParliamentYearData
getImportData
in interface ParliamentYearData
public Date getImportedDate()
ParliamentImportedData
getImportedDate
in interface ParliamentImportedData
public ParliamentImportedData.ImportStatus getImportStatus()
ParliamentImportedData
getImportStatus
in interface ParliamentImportedData
public String getName()
public ParliamentMetaData getParliamentMetaData()
ParliamentImportedData
getParliamentMetaData
in interface ParliamentImportedData
public ResourceType getResourceType()
Resource
getResourceType
in interface Resource
public String getShortCode()
ParliamentYearData
getShortCode
in interface ParliamentYearData
public Date getStartDate()
ParliamentYearData
getStartDate
in interface ParliamentYearData
public Long getVersion()
BaseEntity
getVersion
in interface PersistedModelObject
getVersion
in class BaseEntity
public void setCurrentYear(boolean currentYear)
currentYear
- the new current yearpublic void setDataCompleted(boolean dataCompleted)
dataCompleted
- the new data completedpublic void setDataUpdating(boolean dataUpdating)
ParliamentYearData
setDataUpdating
in interface ParliamentYearData
dataUpdating
- the new data updatingpublic void setEndDate(Date endDate)
endDate
- the new end datepublic void setId(Long id)
PersistedModelObject
setId
in interface PersistedModelObject
id
- the new idpublic void setImportData(boolean importData)
ParliamentYearData
setImportData
in interface ParliamentYearData
importData
- the new import datapublic void setImportedDate(Date importedDate)
ParliamentImportedData
setImportedDate
in interface ParliamentImportedData
importedDate
- the new imported datepublic void setImportStatus(ParliamentImportedData.ImportStatus importStatus)
ParliamentImportedData
setImportStatus
in interface ParliamentImportedData
importStatus
- the new import statuspublic void setName(String name)
ParliamentYearData
setName
in interface ParliamentYearData
name
- the new namepublic void setResourceType(ResourceType resourceType)
resourceType
- the new resource typepublic void setShortCode(String shortCode)
ParliamentYearData
setShortCode
in interface ParliamentYearData
shortCode
- the new short codepublic void setStartDate(Date startDate)
startDate
- the new start datepublic void setVersion(Long version)
PersistedModelObject
setVersion
in interface PersistedModelObject
version
- the new versionprotected TypeContext getApplicationTypeContext()
BaseEntity
getApplicationTypeContext
in class BaseEntity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |