com.hack23.cia.model.sweden.impl
Class ParliamentMember

Package class diagram package ParliamentMember
java.lang.Object
  extended by com.hack23.cia.model.common.impl.BaseEntity
      extended by com.hack23.cia.model.sweden.impl.ParliamentMember
All Implemented Interfaces:
Data, ModelObject, PersistedModelObject, Resource, Role, ParliamentData, ParliamentRole, Politician, Serializable

@Entity
public class ParliamentMember
extends BaseEntity
implements Politician, ParliamentData

The Class ParliamentMember.

See Also:
Serialized Form

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

ParliamentMember

public ParliamentMember()
Method Detail

createFuzzyKey

public final void createFuzzyKey()
Creates the fuzzy key.


dataCanBeUpdated

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

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

generatesParliamentMetaData

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

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

getActor

public Actor getActor()
Description copied from interface: Role
Gets the actor.

Specified by:
getActor in interface Role
Returns:
the actor

getElectoralRegion

public String getElectoralRegion()
Gets the electoral region.

Returns:
the electoral region

getEnglishWikiHref

public String getEnglishWikiHref()
Gets the english wiki href.

Returns:
the english wiki href

getFuzzyKey

public String getFuzzyKey()
Gets the fuzzy key.

Returns:
the fuzzy key

getHref

public String getHref()
Gets the href.

Returns:
the href

getHuman

public Human getHuman()
Gets the human.

Returns:
the human

getId

public Long getId()
Description copied from class: BaseEntity
Gets the id.

Specified by:
getId in interface PersistedModelObject
Specified by:
getId in class BaseEntity
Returns:
the id

getImportedDate

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

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

getImportStatus

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

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

getInternationalHref

public String getInternationalHref()
Gets the international href.

Returns:
the international href

getName

public String getName()
Gets the name.

Returns:
the name

getParliamentMemberBallotRecord

public ParliamentMemberBallotRecord getParliamentMemberBallotRecord()
Gets the parliament member ballot record.

Returns:
the parliament member ballot record

getParliamentMetaData

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

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

getParty

public String getParty()
Gets the party.

Returns:
the party

getPoliticalParty

public PoliticalParty getPoliticalParty()
Gets the political party.

Returns:
the political party

getResourceType

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

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

getVersion

public Long getVersion()
Description copied from class: BaseEntity
Gets the version.

Specified by:
getVersion in interface PersistedModelObject
Specified by:
getVersion in class BaseEntity
Returns:
the version

getWikiHref

public String getWikiHref()
Gets the wiki href.

Returns:
the wiki href

setActor

public void setActor(Actor actor)
Description copied from interface: Role
Sets the actor.

Specified by:
setActor in interface Role
Parameters:
actor - the new actor

setElectoralRegion

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

Parameters:
electoralRegion - the new electoral region

setEnglishWikiHref

public void setEnglishWikiHref(String englishWikiHref)
Sets the english wiki href.

Parameters:
englishWikiHref - the new english wiki href

setFuzzyKey

public void setFuzzyKey(String fuzzyKey)
Sets the fuzzy key.

Parameters:
fuzzyKey - the new fuzzy key

setHref

public void setHref(String href)
Sets the href.

Parameters:
href - the new href

setHuman

public void setHuman(Human human)
Sets the human.

Parameters:
human - the new human

setId

public void setId(Long id)
Description copied from interface: PersistedModelObject
Sets the id.

Specified by:
setId in interface PersistedModelObject
Parameters:
id - the new id

setImportedDate

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

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

setImportStatus

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

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

setName

public void setName(String name)
Sets the name.

Parameters:
name - the new name

setParliamentMemberBallotRecord

public void setParliamentMemberBallotRecord(ParliamentMemberBallotRecord parliamentMemberBallotRecord)
Sets the parliament member ballot record.

Parameters:
parliamentMemberBallotRecord - the new parliament member ballot record

setParty

public void setParty(String party)
Sets the party.

Parameters:
party - the new party

setPoliticalParty

public void setPoliticalParty(PoliticalParty politicalParty)
Sets the political party.

Parameters:
politicalParty - the new political party

setResourceType

public void setResourceType(ResourceType resourceType)
Description copied from interface: Resource
Sets the resource type.

Specified by:
setResourceType in interface Resource
Parameters:
resourceType - the new resource type

setVersion

public void setVersion(Long version)
Description copied from interface: PersistedModelObject
Sets the version.

Specified by:
setVersion in interface PersistedModelObject
Parameters:
version - the new version

setWikiHref

public void setWikiHref(String wikiHref)
Sets the wiki href.

Parameters:
wikiHref - the new wiki href


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