com.hack23.cia.model.impl.sweden.content
Class Politician

Package class diagram package Politician
java.lang.Object
  extended by com.hack23.cia.model.impl.common.BaseEntity
      extended by com.hack23.cia.model.impl.common.Person
          extended by com.hack23.cia.model.impl.sweden.content.Politician
All Implemented Interfaces:
Actor, Agent, Data, ModelObject, PersistedModelObject, Resource, ImportedData, ParliamentMappedData, PoliticianData, Serializable

@Entity
public class Politician
extends Person
implements PoliticianData

The Class Politician.

See Also:
Serialized Form

Nested Class Summary
Modifier and Type Interface and Description
 
Nested classes/interfaces inherited from interface com.hack23.cia.model.api.sweden.common.ImportedData
ImportedData.ImportStatus
 
Constructor Summary
Constructor and Description
Politician()
          Instantiates a new politician.
 
Method Summary
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

Politician

public Politician()
Instantiates a new politician.

Method Detail

getParliamentPersonId

public Integer getParliamentPersonId()
Gets the parliament person id.

Returns:
the parliament person id

setParliamentPersonId

public void setParliamentPersonId(Integer parliamentPersonId)
Sets the parliament person id.

Parameters:
parliamentPersonId - the new parliament person id

getBornYear

public Integer getBornYear()
Gets the born year.

Returns:
the born year

setBornYear

public void setBornYear(Integer bornYear)
Sets the born year.

Parameters:
bornYear - the new born year

getGender

public String getGender()
Gets the gender.

Returns:
the gender

setGender

public void setGender(String gender)
Sets the gender.

Parameters:
gender - the new gender

getLastName

public String getLastName()
Gets the last name.

Returns:
the last name

setLastName

public void setLastName(String lastName)
Sets the last name.

Parameters:
lastName - the new last name

getUsedFirstName

public String getUsedFirstName()
Gets the used first name.

Returns:
the used first name

setUsedFirstName

public void setUsedFirstName(String usedFirstName)
Sets the used first name.

Parameters:
usedFirstName - the new used first name

getPlace

public String getPlace()
Gets the place.

Returns:
the place

setPlace

public void setPlace(String place)
Sets the place.

Parameters:
place - the new place

getParty

public String getParty()
Gets the party.

Returns:
the party

setParty

public void setParty(String party)
Sets the party.

Parameters:
party - the new party

getElectoralRegion

public String getElectoralRegion()
Gets the electoral region.

Returns:
the electoral region

setElectoralRegion

public void setElectoralRegion(String electoralRegion)
Sets the electoral region.

Parameters:
electoralRegion - the new electoral region

getBankId

public Integer getBankId()
Gets the bank id.

Returns:
the bank id

setBankId

public void setBankId(Integer bankId)
Sets the bank id.

Parameters:
bankId - the new bank id

getProffession

public String getProffession()
Gets the proffession.

Returns:
the proffession

setProffession

public void setProffession(String proffession)
Sets the proffession.

Parameters:
proffession - the new proffession

getHomePage

public String getHomePage()
Gets the home page.

Returns:
the home page

setHomePage

public void setHomePage(String homePage)
Sets the home page.

Parameters:
homePage - the new home page

getPlaceOfResidence

public String getPlaceOfResidence()
Gets the place of residence.

Returns:
the place of residence

setPlaceOfResidence

public void setPlaceOfResidence(String placeOfResidence)
Sets the place of residence.

Parameters:
placeOfResidence - the new place of residence

getStatus

public String getStatus()
Gets the status.

Returns:
the status

setStatus

public void setStatus(String status)
Sets the status.

Parameters:
status - the new status

getEmail

public String getEmail()
Gets the email.

Returns:
the email

setEmail

public void setEmail(String email)
Sets the email.

Parameters:
email - the new email

getPhone

public String getPhone()
Gets the phone.

Returns:
the phone

setPhone

public void setPhone(String phone)
Sets the phone.

Parameters:
phone - the new phone

getPersonUrlXml

public String getPersonUrlXml()
Gets the person url xml.

Returns:
the person url xml

setPersonUrlXml

public void setPersonUrlXml(String personUrlXml)
Sets the person url xml.

Parameters:
personUrlXml - the new person url xml

dataCanBeUpdated

public boolean dataCanBeUpdated()
Description copied from interface: ParliamentMappedData
Data can be updated.

Specified by:
dataCanBeUpdated in interface ParliamentMappedData
Returns:
true, if successful

generatesParliamentMetaData

public boolean generatesParliamentMetaData()
Description copied from interface: ParliamentMappedData
Generates parliament meta data.

Specified by:
generatesParliamentMetaData in interface ParliamentMappedData
Returns:
true, if successful

getParliamentMetaData

public ParliamentMetaData getParliamentMetaData()
Description copied from interface: ParliamentMappedData
Gets the parliament meta data.

Specified by:
getParliamentMetaData in interface ParliamentMappedData
Returns:
the parliament meta data

getImportStatus

public ImportedData.ImportStatus getImportStatus()
Description copied from interface: ImportedData
Gets the import status.

Specified by:
getImportStatus in interface ImportedData
Returns:
the import status

getImportedDate

public Date getImportedDate()
Description copied from interface: ImportedData
Gets the imported date.

Specified by:
getImportedDate in interface ImportedData
Returns:
the imported date

setImportStatus

public void setImportStatus(ImportedData.ImportStatus importStatus)
Description copied from interface: ImportedData
Sets the import status.

Specified by:
setImportStatus in interface ImportedData
Parameters:
importStatus - the new import status

setImportedDate

public void setImportedDate(Date importedDate)
Description copied from interface: ImportedData
Sets the imported date.

Specified by:
setImportedDate in interface ImportedData
Parameters:
importedDate - the new imported date

getResourceType

public ResourceType getResourceType()
Description copied from interface: Resource
Gets the resource type.

Specified by:
getResourceType in interface Resource
Returns:
the resource type


Copyright © 2008-2010 www.hack23.com. All Rights Reserved.