|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.common.impl.BaseEntity com.hack23.cia.model.sweden.impl.Election
@Entity public class Election
The Class Election.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.hack23.cia.model.sweden.api.ParliamentData |
---|
ParliamentData.ImportStatus |
Constructor Summary | |
---|---|
Election()
Instantiates a new election. |
Method Summary | |
---|---|
boolean |
dataCanBeUpdated()
Data can be updated. |
boolean |
generatesParliamentMetaData()
Generates parliament meta data. |
Date |
getElectionDate()
Gets the election date. |
Long |
getId()
Gets the id. |
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. |
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(ParliamentData.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.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 Election()
Method Detail |
---|
public boolean dataCanBeUpdated()
ParliamentData
dataCanBeUpdated
in interface ParliamentData
public boolean generatesParliamentMetaData()
ParliamentData
generatesParliamentMetaData
in interface ParliamentData
public Date getElectionDate()
public Long getId()
BaseEntity
getId
in interface PersistedModelObject
getId
in class BaseEntity
public Date getImportedDate()
ParliamentData
getImportedDate
in interface ParliamentData
public ParliamentData.ImportStatus getImportStatus()
ParliamentData
getImportStatus
in interface ParliamentData
public String getName()
public ParliamentMetaData getParliamentMetaData()
ParliamentData
getParliamentMetaData
in interface ParliamentData
public ResourceType getResourceType()
Resource
getResourceType
in interface Resource
public Long getVersion()
BaseEntity
getVersion
in interface PersistedModelObject
getVersion
in class BaseEntity
public void setElectionDate(Date electionDate)
electionDate
- the new election datepublic void setId(Long id)
PersistedModelObject
setId
in interface PersistedModelObject
id
- the new idpublic void setImportedDate(Date importedDate)
ParliamentData
setImportedDate
in interface ParliamentData
importedDate
- the new imported datepublic void setImportStatus(ParliamentData.ImportStatus importStatus)
ParliamentData
setImportStatus
in interface ParliamentData
importStatus
- the new import statuspublic void setName(String name)
name
- the new namepublic void setResourceType(ResourceType resourceType)
Resource
setResourceType
in interface Resource
resourceType
- the new resource typepublic void setVersion(Long version)
PersistedModelObject
setVersion
in interface PersistedModelObject
version
- the new version
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |