|
||||||||||
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.common.Person com.hack23.cia.model.impl.sweden.content.Politician
@Entity public class Politician extends Person implements PoliticianData
The Class Politician.
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 |
---|
Politician()
Instantiates a new politician. |
Modifier and Type | Method and Description |
---|---|
boolean |
dataCanBeUpdated()
Data can be updated. |
boolean |
generatesParliamentMetaData()
Generates parliament meta data. |
Integer |
getBankId()
Gets the bank id. |
Integer |
getBornYear()
Gets the born year. |
String |
getElectoralRegion()
Gets the electoral region. |
String |
getEmail()
Gets the email. |
String |
getGender()
Gets the gender. |
String |
getHomePage()
Gets the home page. |
Date |
getImportedDate()
Gets the imported date. |
ImportedData.ImportStatus |
getImportStatus()
Gets the import status. |
String |
getLastName()
Gets the last name. |
ParliamentMetaData |
getParliamentMetaData()
Gets the parliament meta data. |
Integer |
getParliamentPersonId()
Gets the parliament person id. |
String |
getParty()
Gets the party. |
String |
getPersonUrlXml()
Gets the person url xml. |
String |
getPhone()
Gets the phone. |
String |
getPlace()
Gets the place. |
String |
getPlaceOfResidence()
Gets the place of residence. |
String |
getProffession()
Gets the proffession. |
ResourceType |
getResourceType()
Gets the resource type. |
String |
getStatus()
Gets the status. |
String |
getUsedFirstName()
Gets the used first name. |
void |
setBankId(Integer bankId)
Sets the bank id. |
void |
setBornYear(Integer bornYear)
Sets the born year. |
void |
setElectoralRegion(String electoralRegion)
Sets the electoral region. |
void |
setEmail(String email)
Sets the email. |
void |
setGender(String gender)
Sets the gender. |
void |
setHomePage(String homePage)
Sets the home page. |
void |
setImportedDate(Date importedDate)
Sets the imported date. |
void |
setImportStatus(ImportedData.ImportStatus importStatus)
Sets the import status. |
void |
setLastName(String lastName)
Sets the last name. |
void |
setParliamentPersonId(Integer parliamentPersonId)
Sets the parliament person id. |
void |
setParty(String party)
Sets the party. |
void |
setPersonUrlXml(String personUrlXml)
Sets the person url xml. |
void |
setPhone(String phone)
Sets the phone. |
void |
setPlace(String place)
Sets the place. |
void |
setPlaceOfResidence(String placeOfResidence)
Sets the place of residence. |
void |
setProffession(String proffession)
Sets the proffession. |
void |
setStatus(String status)
Sets the status. |
void |
setUsedFirstName(String usedFirstName)
Sets the used first name. |
Methods inherited from class com.hack23.cia.model.impl.common.Person |
---|
getActor, getActorDefinedRoles, getActorRoles, getApplicationTypeContext, getId, getName, getVersion, setActor, setActorDefinedRoles, setActorRoles, setId, setName, setVersion |
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.Actor |
---|
getActorDefinedRoles, getActorRoles, getName, setActorDefinedRoles, setActorRoles, setName |
Methods inherited from interface com.hack23.cia.model.api.common.PersistedModelObject |
---|
getId, getTypeContext, getVersion, isNew, setId, setVersion |
Constructor Detail |
---|
public Politician()
Method Detail |
---|
public Integer getParliamentPersonId()
public void setParliamentPersonId(Integer parliamentPersonId)
parliamentPersonId
- the new parliament person idpublic Integer getBornYear()
public void setBornYear(Integer bornYear)
bornYear
- the new born yearpublic String getGender()
public void setGender(String gender)
gender
- the new genderpublic String getLastName()
public void setLastName(String lastName)
lastName
- the new last namepublic String getUsedFirstName()
public void setUsedFirstName(String usedFirstName)
usedFirstName
- the new used first namepublic String getPlace()
public void setPlace(String place)
place
- the new placepublic String getParty()
public void setParty(String party)
party
- the new partypublic String getElectoralRegion()
public void setElectoralRegion(String electoralRegion)
electoralRegion
- the new electoral regionpublic Integer getBankId()
public void setBankId(Integer bankId)
bankId
- the new bank idpublic String getProffession()
public void setProffession(String proffession)
proffession
- the new proffessionpublic String getHomePage()
public void setHomePage(String homePage)
homePage
- the new home pagepublic String getPlaceOfResidence()
public void setPlaceOfResidence(String placeOfResidence)
placeOfResidence
- the new place of residencepublic String getStatus()
public void setStatus(String status)
status
- the new statuspublic String getEmail()
public void setEmail(String email)
email
- the new emailpublic String getPhone()
public void setPhone(String phone)
phone
- the new phonepublic String getPersonUrlXml()
public void setPersonUrlXml(String personUrlXml)
personUrlXml
- the new person url xmlpublic boolean dataCanBeUpdated()
ParliamentMappedData
dataCanBeUpdated
in interface ParliamentMappedData
public boolean generatesParliamentMetaData()
ParliamentMappedData
generatesParliamentMetaData
in interface ParliamentMappedData
public ParliamentMetaData getParliamentMetaData()
ParliamentMappedData
getParliamentMetaData
in interface ParliamentMappedData
public ImportedData.ImportStatus getImportStatus()
ImportedData
getImportStatus
in interface ImportedData
public Date getImportedDate()
ImportedData
getImportedDate
in interface ImportedData
public void setImportStatus(ImportedData.ImportStatus importStatus)
ImportedData
setImportStatus
in interface ImportedData
importStatus
- the new import statuspublic void setImportedDate(Date importedDate)
ImportedData
setImportedDate
in interface ImportedData
importedDate
- the new imported datepublic ResourceType getResourceType()
Resource
getResourceType
in interface Resource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |