com.hack23.cia.model.impl.sweden.content
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.content.ParliamentMember
All Implemented Interfaces:
Data, ModelObject, PersistedModelObject, Resource, Role, ImportedData, ParliamentMappedData, ParliamentMemberData, ParliamentRole, Serializable

@Entity
public class ParliamentMember
extends BaseEntity
implements ParliamentMemberData

The Class ParliamentMember.

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
ParliamentMember()
           
 
Method Summary
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

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: 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

getActor

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

Specified by:
getActor in interface Role
Returns:
the actor

getApplicationTypeContext

protected TypeContext getApplicationTypeContext()
Description copied from class: BaseEntity
Gets the application type context.

Specified by:
getApplicationTypeContext in class BaseEntity
Returns:
the application type context

getElectoralRegion

public String getElectoralRegion()
Gets the electoral region.

Returns:
the electoral region

getEndDate

public Date getEndDate()
Description copied from interface: ParliamentRole
Gets the end date.

Specified by:
getEndDate in interface ParliamentRole
Returns:
the end date

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

getPolitician

public Politician getPolitician()
Gets the politician.

Returns:
the politician

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: ImportedData
Gets the imported date.

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

getImportStatus

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

Specified by:
getImportStatus in interface ImportedData
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: ParliamentMappedData
Gets the parliament meta data.

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

getParliamentSeatPosition

public String getParliamentSeatPosition()
Gets the parliament seat position.

Returns:
the parliament seat position

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

getStartDate

public Date getStartDate()
Description copied from interface: ParliamentRole
Gets the start date.

Specified by:
getStartDate in interface ParliamentRole
Returns:
the start date

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

setEndDate

public void setEndDate(Date endDate)
Sets the end date.

Parameters:
endDate - the new end date

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

setPolitician

public void setPolitician(Politician politician)
Sets the politician.

Parameters:
politician - the new politician

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: ImportedData
Sets the imported date.

Specified by:
setImportedDate in interface ImportedData
Parameters:
importedDate - the new 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

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

setParliamentSeatPosition

public void setParliamentSeatPosition(String parliamentSeatPosition)
Sets the parliament seat position.

Parameters:
parliamentSeatPosition - the new parliament seat position

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

setStartDate

public void setStartDate(Date startDate)
Sets the start date.

Parameters:
startDate - the new start date

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


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