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

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

@Entity
public class ParliamentMember
extends BaseEntity
implements ParliamentMemberData

The Class ParliamentMember.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hack23.cia.model.api.sweden.ParliamentImportedData
ParliamentImportedData.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.
protected  TypeContext getApplicationTypeContext()
          Gets the application group specification.
 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.
 ParliamentImportedData.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 getParty()
          Gets the party.
 PoliticalParty getPoliticalParty()
          Gets the political party.
 PoliticalPartyData getPoliticalPartyData()
          Gets the political party data.
 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(ParliamentImportedData.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 setParty(String party)
          Sets the party.
 void setPoliticalParty(PoliticalParty politicalParty)
          Sets the political party.
 void setPoliticalPartyData(PoliticalPartyData politicalParty)
          Sets the political party data.
 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.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

ParliamentMember

public ParliamentMember()
Method Detail

createFuzzyKey

public final void createFuzzyKey()
Description copied from interface: ParliamentMemberData
Creates the fuzzy key.

Specified by:
createFuzzyKey in interface ParliamentMemberData

dataCanBeUpdated

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

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

generatesParliamentMetaData

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

Specified by:
generatesParliamentMetaData in interface ParliamentImportedData
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()
Description copied from interface: ParliamentMemberData
Gets the english wiki href.

Specified by:
getEnglishWikiHref in interface ParliamentMemberData
Returns:
the english wiki href

getFuzzyKey

public String getFuzzyKey()
Description copied from interface: ParliamentMemberData
Gets the fuzzy key.

Specified by:
getFuzzyKey in interface ParliamentMemberData
Returns:
the fuzzy key

getHref

public String getHref()
Description copied from interface: ParliamentMemberData
Gets the href.

Specified by:
getHref in interface ParliamentMemberData
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: ParliamentImportedData
Gets the imported date.

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

getImportStatus

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

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

getInternationalHref

public String getInternationalHref()
Gets the international href.

Returns:
the international href

getName

public String getName()
Description copied from interface: ParliamentMemberData
Gets the name.

Specified by:
getName in interface ParliamentMemberData
Returns:
the name

getParliamentMemberBallotRecord

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

Returns:
the parliament member ballot record

getParliamentMemberBallotRecordData

public ParliamentMemberBallotRecordData getParliamentMemberBallotRecordData()
Description copied from interface: ParliamentMemberData
Gets the parliament member ballot record data.

Specified by:
getParliamentMemberBallotRecordData in interface ParliamentMemberData
Returns:
the parliament member ballot record data

getParliamentMetaData

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

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

getParty

public String getParty()
Description copied from interface: ParliamentMemberData
Gets the party.

Specified by:
getParty in interface ParliamentMemberData
Returns:
the party

getPoliticalParty

public PoliticalParty getPoliticalParty()
Gets the political party.

Returns:
the political party

getPoliticalPartyData

public PoliticalPartyData getPoliticalPartyData()
Description copied from interface: ParliamentMemberData
Gets the political party data.

Specified by:
getPoliticalPartyData in interface ParliamentMemberData
Returns:
the political party data

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()
Description copied from interface: ParliamentMemberData
Gets the wiki href.

Specified by:
getWikiHref in interface ParliamentMemberData
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)
Description copied from interface: ParliamentMemberData
Sets the electoral region.

Specified by:
setElectoralRegion in interface ParliamentMemberData
Parameters:
electoralRegion - the new electoral region

setEnglishWikiHref

public void setEnglishWikiHref(String englishWikiHref)
Description copied from interface: ParliamentMemberData
Sets the english wiki href.

Specified by:
setEnglishWikiHref in interface ParliamentMemberData
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)
Description copied from interface: ParliamentMemberData
Sets the href.

Specified by:
setHref in interface ParliamentMemberData
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: ParliamentImportedData
Sets the imported date.

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

setImportStatus

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

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

setName

public void setName(String name)
Description copied from interface: ParliamentMemberData
Sets the name.

Specified by:
setName in interface ParliamentMemberData
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

setParliamentMemberBallotRecordData

public void setParliamentMemberBallotRecordData(ParliamentMemberBallotRecordData createParliamentMemberBallotRecordData)
Description copied from interface: ParliamentMemberData
Sets the parliament member ballot record data.

Specified by:
setParliamentMemberBallotRecordData in interface ParliamentMemberData
Parameters:
createParliamentMemberBallotRecordData - the new parliament member ballot record data

setParty

public void setParty(String party)
Description copied from interface: ParliamentMemberData
Sets the party.

Specified by:
setParty in interface ParliamentMemberData
Parameters:
party - the new party

setPoliticalParty

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

Parameters:
politicalParty - the new political party

setPoliticalPartyData

public void setPoliticalPartyData(PoliticalPartyData politicalParty)
Description copied from interface: ParliamentMemberData
Sets the political party data.

Specified by:
setPoliticalPartyData in interface ParliamentMemberData
Parameters:
politicalParty - the new political party data

setResourceType

public void setResourceType(ResourceType resourceType)
Sets the resource type.

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)
Description copied from interface: ParliamentMemberData
Sets the wiki href.

Specified by:
setWikiHref in interface ParliamentMemberData
Parameters:
wikiHref - the new wiki href

getApplicationTypeContext

protected TypeContext getApplicationTypeContext()
Description copied from class: BaseEntity
Gets the application group specification.

Specified by:
getApplicationTypeContext in class BaseEntity
Returns:
the application group specification


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