|
||||||||||
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.ParliamentMember
@Entity public class ParliamentMember
The Class ParliamentMember.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.hack23.cia.model.sweden.api.ParliamentData |
---|
ParliamentData.ImportStatus |
Constructor Summary | |
---|---|
ParliamentMember()
|
Method Summary | |
---|---|
void |
createFuzzyKey()
Creates the fuzzy key. |
boolean |
dataCanBeUpdated()
Data can be updated. |
boolean |
generatesParliamentMetaData()
Generates parliament meta data. |
Actor |
getActor()
Gets the actor. |
String |
getElectoralRegion()
Gets the electoral region. |
String |
getEnglishWikiHref()
Gets the english wiki href. |
String |
getFuzzyKey()
Gets the fuzzy key. |
String |
getHref()
Gets the href. |
Human |
getHuman()
Gets the human. |
Long |
getId()
Gets the id. |
Date |
getImportedDate()
Gets the imported date. |
ParliamentData.ImportStatus |
getImportStatus()
Gets the import status. |
String |
getInternationalHref()
Gets the international href. |
String |
getName()
Gets the name. |
ParliamentMemberBallotRecord |
getParliamentMemberBallotRecord()
Gets the parliament member ballot record. |
ParliamentMetaData |
getParliamentMetaData()
Gets the parliament meta data. |
String |
getParty()
Gets the party. |
PoliticalParty |
getPoliticalParty()
Gets the political party. |
ResourceType |
getResourceType()
Gets the resource type. |
Long |
getVersion()
Gets the version. |
String |
getWikiHref()
Gets the wiki href. |
void |
setActor(Actor actor)
Sets the actor. |
void |
setElectoralRegion(String electoralRegion)
Sets the electoral region. |
void |
setEnglishWikiHref(String englishWikiHref)
Sets the english wiki href. |
void |
setFuzzyKey(String fuzzyKey)
Sets the fuzzy key. |
void |
setHref(String href)
Sets the href. |
void |
setHuman(Human human)
Sets the human. |
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 |
setParliamentMemberBallotRecord(ParliamentMemberBallotRecord parliamentMemberBallotRecord)
Sets the parliament member ballot record. |
void |
setParty(String party)
Sets the party. |
void |
setPoliticalParty(PoliticalParty politicalParty)
Sets the political party. |
void |
setResourceType(ResourceType resourceType)
Sets the resource type. |
void |
setVersion(Long version)
Sets the version. |
void |
setWikiHref(String wikiHref)
Sets the wiki href. |
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 ParliamentMember()
Method Detail |
---|
public final void createFuzzyKey()
public boolean dataCanBeUpdated()
ParliamentData
dataCanBeUpdated
in interface ParliamentData
public boolean generatesParliamentMetaData()
ParliamentData
generatesParliamentMetaData
in interface ParliamentData
public Actor getActor()
Role
getActor
in interface Role
public String getElectoralRegion()
public String getEnglishWikiHref()
public String getFuzzyKey()
public String getHref()
public Human getHuman()
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 getInternationalHref()
public String getName()
public ParliamentMemberBallotRecord getParliamentMemberBallotRecord()
public ParliamentMetaData getParliamentMetaData()
ParliamentData
getParliamentMetaData
in interface ParliamentData
public String getParty()
public PoliticalParty getPoliticalParty()
public ResourceType getResourceType()
Resource
getResourceType
in interface Resource
public Long getVersion()
BaseEntity
getVersion
in interface PersistedModelObject
getVersion
in class BaseEntity
public String getWikiHref()
public void setActor(Actor actor)
Role
setActor
in interface Role
actor
- the new actorpublic void setElectoralRegion(String electoralRegion)
electoralRegion
- the new electoral regionpublic void setEnglishWikiHref(String englishWikiHref)
englishWikiHref
- the new english wiki hrefpublic void setFuzzyKey(String fuzzyKey)
fuzzyKey
- the new fuzzy keypublic void setHref(String href)
href
- the new hrefpublic void setHuman(Human human)
human
- the new humanpublic 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 setParliamentMemberBallotRecord(ParliamentMemberBallotRecord parliamentMemberBallotRecord)
parliamentMemberBallotRecord
- the new parliament member ballot recordpublic void setParty(String party)
party
- the new partypublic void setPoliticalParty(PoliticalParty politicalParty)
politicalParty
- the new political partypublic 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 versionpublic void setWikiHref(String wikiHref)
wikiHref
- the new wiki href
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |