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

java.lang.Objectcom.hack23.cia.model.impl.common.BaseEntity
com.hack23.cia.model.impl.sweden.Election
@Entity public class Election
The Class Election.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.hack23.cia.model.api.sweden.ParliamentImportedData |
|---|
ParliamentImportedData.ImportStatus |
| Constructor Summary | |
|---|---|
Election()
Instantiates a new election. |
|
| Method Summary | |
|---|---|
boolean |
dataCanBeUpdated()
Data can be updated. |
boolean |
generatesParliamentMetaData()
Generates parliament meta data. |
protected TypeContext |
getApplicationTypeContext()
Gets the application group specification. |
Date |
getElectionDate()
Gets the election date. |
Long |
getId()
Gets the id. |
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. |
Long |
getVersion()
Gets the version. |
void |
setElectionDate(Date electionDate)
Sets the election date. |
void |
setId(Long id)
Sets the id. |
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 |
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 Election()
| Method Detail |
|---|
public boolean dataCanBeUpdated()
ParliamentImportedData
dataCanBeUpdated in interface ParliamentImportedDatapublic boolean generatesParliamentMetaData()
ParliamentImportedData
generatesParliamentMetaData in interface ParliamentImportedDatapublic Date getElectionDate()
public Long getId()
BaseEntity
getId in interface PersistedModelObjectgetId in class BaseEntitypublic Date getImportedDate()
ParliamentImportedData
getImportedDate in interface ParliamentImportedDatapublic ParliamentImportedData.ImportStatus getImportStatus()
ParliamentImportedData
getImportStatus in interface ParliamentImportedDatapublic String getName()
public ParliamentMetaData getParliamentMetaData()
ParliamentImportedData
getParliamentMetaData in interface ParliamentImportedDatapublic ResourceType getResourceType()
Resource
getResourceType in interface Resourcepublic Long getVersion()
BaseEntity
getVersion in interface PersistedModelObjectgetVersion in class BaseEntitypublic void setElectionDate(Date electionDate)
electionDate - the new election datepublic void setId(Long id)
PersistedModelObject
setId in interface PersistedModelObjectid - the new idpublic void setImportedDate(Date importedDate)
ParliamentImportedData
setImportedDate in interface ParliamentImportedDataimportedDate - the new imported datepublic void setImportStatus(ParliamentImportedData.ImportStatus importStatus)
ParliamentImportedData
setImportStatus in interface ParliamentImportedDataimportStatus - the new import statuspublic void setName(String name)
name - the new namepublic void setResourceType(ResourceType resourceType)
resourceType - the new resource typepublic void setVersion(Long version)
PersistedModelObject
setVersion in interface PersistedModelObjectversion - 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 | |||||||||