|
||||||||||
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.content.ParliamentMember
@Entity public class ParliamentMember extends BaseEntity implements ParliamentMemberData
The Class ParliamentMember.
Modifier and Type | Interface and Description |
---|
Nested classes/interfaces inherited from interface com.hack23.cia.model.api.sweden.common.ImportedData |
---|
ImportedData.ImportStatus |
Constructor and Description |
---|
ParliamentMember()
|
Modifier and Type | Method and Description |
---|---|
void |
createFuzzyKey()
Creates the fuzzy key. |
boolean |
dataCanBeUpdated()
Data can be updated. |
boolean |
generatesParliamentMetaData()
Generates parliament meta data. |
Actor |
getActor()
Gets the actor. |
protected TypeContext |
getApplicationTypeContext()
Gets the application type context. |
String |
getElectoralRegion()
Gets the electoral region. |
Date |
getEndDate()
Gets the end date. |
String |
getEnglishWikiHref()
Gets the english wiki href. |
String |
getFuzzyKey()
Gets the fuzzy key. |
String |
getHref()
Gets the href. |
Long |
getId()
Gets the id. |
Date |
getImportedDate()
Gets the imported date. |
ImportedData.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. |
ParliamentMemberBallotRecordData |
getParliamentMemberBallotRecordData()
Gets the parliament member ballot record data. |
ParliamentMetaData |
getParliamentMetaData()
Gets the parliament meta data. |
String |
getParliamentSeatPosition()
Gets the parliament seat position. |
String |
getParty()
Gets the party. |
PoliticalParty |
getPoliticalParty()
Gets the political party. |
PoliticalPartyData |
getPoliticalPartyData()
Gets the political party data. |
Politician |
getPolitician()
Gets the politician. |
ResourceType |
getResourceType()
Gets the resource type. |
Date |
getStartDate()
Gets the start date. |
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 |
setEndDate(Date endDate)
Sets the end date. |
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 |
setId(Long id)
Sets the id. |
void |
setImportedDate(Date importedDate)
Sets the imported date. |
void |
setImportStatus(ImportedData.ImportStatus importStatus)
Sets the import status. |
void |
setName(String name)
Sets the name. |
void |
setParliamentMemberBallotRecord(ParliamentMemberBallotRecord parliamentMemberBallotRecord)
Sets the parliament member ballot record. |
void |
setParliamentMemberBallotRecordData(ParliamentMemberBallotRecordData createParliamentMemberBallotRecordData)
Sets the parliament member ballot record data. |
void |
setParliamentSeatPosition(String parliamentSeatPosition)
Sets the parliament seat position. |
void |
setParty(String party)
Sets the party. |
void |
setPoliticalParty(PoliticalParty politicalParty)
Sets the political party. |
void |
setPoliticalPartyData(PoliticalPartyData politicalParty)
Sets the political party data. |
void |
setPolitician(Politician politician)
Sets the politician. |
void |
setResourceType(ResourceType resourceType)
Sets the resource type. |
void |
setStartDate(Date startDate)
Sets the start date. |
void |
setVersion(Long version)
Sets the version. |
void |
setWikiHref(String wikiHref)
Sets the wiki href. |
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 ParliamentMember()
Method Detail |
---|
public final void createFuzzyKey()
ParliamentMemberData
createFuzzyKey
in interface ParliamentMemberData
public boolean dataCanBeUpdated()
ParliamentMappedData
dataCanBeUpdated
in interface ParliamentMappedData
public boolean generatesParliamentMetaData()
ParliamentMappedData
generatesParliamentMetaData
in interface ParliamentMappedData
public Actor getActor()
Role
getActor
in interface Role
protected TypeContext getApplicationTypeContext()
BaseEntity
getApplicationTypeContext
in class BaseEntity
public String getElectoralRegion()
public Date getEndDate()
ParliamentRole
getEndDate
in interface ParliamentRole
public String getEnglishWikiHref()
ParliamentMemberData
getEnglishWikiHref
in interface ParliamentMemberData
public String getFuzzyKey()
ParliamentMemberData
getFuzzyKey
in interface ParliamentMemberData
public String getHref()
ParliamentMemberData
getHref
in interface ParliamentMemberData
public Politician getPolitician()
public Long getId()
BaseEntity
getId
in interface PersistedModelObject
getId
in class BaseEntity
public Date getImportedDate()
ImportedData
getImportedDate
in interface ImportedData
public ImportedData.ImportStatus getImportStatus()
ImportedData
getImportStatus
in interface ImportedData
public String getInternationalHref()
public String getName()
ParliamentMemberData
getName
in interface ParliamentMemberData
public ParliamentMemberBallotRecord getParliamentMemberBallotRecord()
public ParliamentMemberBallotRecordData getParliamentMemberBallotRecordData()
ParliamentMemberData
getParliamentMemberBallotRecordData
in interface ParliamentMemberData
public ParliamentMetaData getParliamentMetaData()
ParliamentMappedData
getParliamentMetaData
in interface ParliamentMappedData
public String getParliamentSeatPosition()
public String getParty()
ParliamentMemberData
getParty
in interface ParliamentMemberData
public PoliticalParty getPoliticalParty()
public PoliticalPartyData getPoliticalPartyData()
ParliamentMemberData
getPoliticalPartyData
in interface ParliamentMemberData
public ResourceType getResourceType()
Resource
getResourceType
in interface Resource
public Date getStartDate()
ParliamentRole
getStartDate
in interface ParliamentRole
public Long getVersion()
BaseEntity
getVersion
in interface PersistedModelObject
getVersion
in class BaseEntity
public String getWikiHref()
ParliamentMemberData
getWikiHref
in interface ParliamentMemberData
public void setActor(Actor actor)
Role
setActor
in interface Role
actor
- the new actorpublic void setElectoralRegion(String electoralRegion)
ParliamentMemberData
setElectoralRegion
in interface ParliamentMemberData
electoralRegion
- the new electoral regionpublic void setEndDate(Date endDate)
endDate
- the new end datepublic void setEnglishWikiHref(String englishWikiHref)
ParliamentMemberData
setEnglishWikiHref
in interface ParliamentMemberData
englishWikiHref
- the new english wiki hrefpublic void setFuzzyKey(String fuzzyKey)
fuzzyKey
- the new fuzzy keypublic void setHref(String href)
ParliamentMemberData
setHref
in interface ParliamentMemberData
href
- the new hrefpublic void setPolitician(Politician politician)
politician
- the new politicianpublic void setId(Long id)
PersistedModelObject
setId
in interface PersistedModelObject
id
- the new idpublic void setImportedDate(Date importedDate)
ImportedData
setImportedDate
in interface ImportedData
importedDate
- the new imported datepublic void setImportStatus(ImportedData.ImportStatus importStatus)
ImportedData
setImportStatus
in interface ImportedData
importStatus
- the new import statuspublic void setName(String name)
ParliamentMemberData
setName
in interface ParliamentMemberData
name
- the new namepublic void setParliamentMemberBallotRecord(ParliamentMemberBallotRecord parliamentMemberBallotRecord)
parliamentMemberBallotRecord
- the new parliament member ballot recordpublic void setParliamentMemberBallotRecordData(ParliamentMemberBallotRecordData createParliamentMemberBallotRecordData)
ParliamentMemberData
setParliamentMemberBallotRecordData
in interface ParliamentMemberData
createParliamentMemberBallotRecordData
- the new parliament member ballot record datapublic void setParliamentSeatPosition(String parliamentSeatPosition)
parliamentSeatPosition
- the new parliament seat positionpublic void setParty(String party)
ParliamentMemberData
setParty
in interface ParliamentMemberData
party
- the new partypublic void setPoliticalParty(PoliticalParty politicalParty)
politicalParty
- the new political partypublic void setPoliticalPartyData(PoliticalPartyData politicalParty)
ParliamentMemberData
setPoliticalPartyData
in interface ParliamentMemberData
politicalParty
- the new political party datapublic void setResourceType(ResourceType resourceType)
resourceType
- the new resource typepublic void setStartDate(Date startDate)
startDate
- the new start datepublic void setVersion(Long version)
PersistedModelObject
setVersion
in interface PersistedModelObject
version
- the new versionpublic void setWikiHref(String wikiHref)
ParliamentMemberData
setWikiHref
in interface ParliamentMemberData
wikiHref
- the new wiki href
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |