|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcom.hack23.cia.model.impl.common.BaseEntity
com.hack23.cia.model.impl.sweden.content.PoliticalParty
@Entity public class PoliticalParty extends BaseEntity implements PoliticalPartyData
The Class PoliticalParty.
| 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 |
|---|
PoliticalParty()
Instantiates a new political party. |
| Modifier and Type | Method and Description |
|---|---|
void |
addParliamentMember(ParliamentMemberData parliamentMember)
Adds the parliament member. |
boolean |
dataCanBeUpdated()
Data can be updated. |
boolean |
generatesParliamentMetaData()
Generates parliament meta data. |
Role[] |
getActorDefinedRoles()
Gets the actor defined roles. |
Role[] |
getActorRoles()
Gets the actor roles. |
protected TypeContext |
getApplicationTypeContext()
Gets the application type context. |
Election |
getElection()
Gets the election. |
Long |
getId()
Gets the id. |
Date |
getImportedDate()
Gets the imported date. |
ImportedData.ImportStatus |
getImportStatus()
Gets the import status. |
String |
getName()
Gets the name. |
Set<ParliamentMember> |
getParliamentMembers()
Gets the parliament members. |
ParliamentMetaData |
getParliamentMetaData()
Gets the parliament meta data. |
ResourceType |
getResourceType()
Gets the resource type. |
String |
getShortCode()
Gets the short code. |
Long |
getVersion()
Gets the version. |
void |
setActorDefinedRoles(Role[] roles)
Sets the actor defined roles. |
void |
setActorRoles(Role[] roles)
Sets the actor roles. |
void |
setElection(Election election)
Sets the election. |
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 |
setParliamentMembers(Set<ParliamentMember> parliamentMembers)
Sets the parliament members. |
void |
setResourceType(ResourceType resourceType)
Sets the resource type. |
void |
setShortCode(String shortCode)
Sets the short code. |
void |
setVersion(Long version)
Sets the version. |
| 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 |
|---|
public PoliticalParty()
| Method Detail |
|---|
public void addParliamentMember(ParliamentMemberData parliamentMember)
PoliticalPartyData
addParliamentMember in interface PoliticalPartyDataparliamentMember - the parliament memberpublic boolean dataCanBeUpdated()
ParliamentMappedData
dataCanBeUpdated in interface ParliamentMappedDatapublic boolean generatesParliamentMetaData()
ParliamentMappedData
generatesParliamentMetaData in interface ParliamentMappedDatapublic Role[] getActorDefinedRoles()
Actor
getActorDefinedRoles in interface Actorpublic Role[] getActorRoles()
Actor
getActorRoles in interface Actorprotected TypeContext getApplicationTypeContext()
BaseEntity
getApplicationTypeContext in class BaseEntitypublic Election getElection()
PoliticalPartyData
getElection in interface PoliticalPartyDatapublic Long getId()
BaseEntity
getId in interface PersistedModelObjectgetId in class BaseEntitypublic Date getImportedDate()
ImportedData
getImportedDate in interface ImportedDatapublic ImportedData.ImportStatus getImportStatus()
ImportedData
getImportStatus in interface ImportedDatapublic String getName()
Actor
getName in interface Actorpublic Set<ParliamentMember> getParliamentMembers()
public ParliamentMetaData getParliamentMetaData()
ParliamentMappedData
getParliamentMetaData in interface ParliamentMappedDatapublic ResourceType getResourceType()
Resource
getResourceType in interface Resourcepublic String getShortCode()
PoliticalPartyData
getShortCode in interface PoliticalPartyDatapublic Long getVersion()
BaseEntity
getVersion in interface PersistedModelObjectgetVersion in class BaseEntitypublic void setActorDefinedRoles(Role[] roles)
Actor
setActorDefinedRoles in interface Actorroles - the new actor defined rolespublic void setActorRoles(Role[] roles)
Actor
setActorRoles in interface Actorroles - the new actor rolespublic void setId(Long id)
PersistedModelObject
setId in interface PersistedModelObjectid - the new idpublic void setImportedDate(Date importedDate)
ImportedData
setImportedDate in interface ImportedDataimportedDate - the new imported datepublic void setImportStatus(ImportedData.ImportStatus importStatus)
ImportedData
setImportStatus in interface ImportedDataimportStatus - the new import statuspublic void setName(String name)
Actor
setName in interface Actorname - the new namepublic void setParliamentMembers(Set<ParliamentMember> parliamentMembers)
parliamentMembers - the new parliament memberspublic void setResourceType(ResourceType resourceType)
resourceType - the new resource typepublic void setShortCode(String shortCode)
PoliticalPartyData
setShortCode in interface PoliticalPartyDatashortCode - the new short codepublic void setVersion(Long version)
PersistedModelObject
setVersion in interface PersistedModelObjectversion - the new versionpublic void setElection(Election election)
election - the new election
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||