|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.impl.common.BaseEntity com.hack23.cia.model.impl.sweden.PoliticalParty
@Entity public class PoliticalParty
The Class PoliticalParty.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.hack23.cia.model.api.sweden.ParliamentImportedData |
---|
ParliamentImportedData.ImportStatus |
Constructor Summary | |
---|---|
PoliticalParty()
Instantiates a new political party. |
Method Summary | |
---|---|
void |
addParliamentMember(ParliamentMemberData parliamentMember)
Adds the parliament member. |
boolean |
dataCanBeUpdated()
Data can be updated. |
boolean |
generatesParliamentMetaData()
Generates parliament meta data. |
Role[] |
getActorRoles()
Gets the actor roles. |
protected TypeContext |
getApplicationTypeContext()
Gets the application group specification. |
Long |
getId()
Gets the id. |
Date |
getImportedDate()
Gets the imported date. |
ParliamentImportedData.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 |
setActorRoles(Role[] roles)
Sets the actor roles. |
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 |
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 PoliticalPartyData
parliamentMember
- the parliament memberpublic boolean dataCanBeUpdated()
ParliamentImportedData
dataCanBeUpdated
in interface ParliamentImportedData
public boolean generatesParliamentMetaData()
ParliamentImportedData
generatesParliamentMetaData
in interface ParliamentImportedData
public Role[] getActorRoles()
Actor
getActorRoles
in interface Actor
public Long getId()
BaseEntity
getId
in interface PersistedModelObject
getId
in class BaseEntity
public Date getImportedDate()
ParliamentImportedData
getImportedDate
in interface ParliamentImportedData
public ParliamentImportedData.ImportStatus getImportStatus()
ParliamentImportedData
getImportStatus
in interface ParliamentImportedData
public String getName()
Actor
getName
in interface Actor
public Set<ParliamentMember> getParliamentMembers()
public ParliamentMetaData getParliamentMetaData()
ParliamentImportedData
getParliamentMetaData
in interface ParliamentImportedData
public ResourceType getResourceType()
Resource
getResourceType
in interface Resource
public String getShortCode()
PoliticalPartyData
getShortCode
in interface PoliticalPartyData
public Long getVersion()
BaseEntity
getVersion
in interface PersistedModelObject
getVersion
in class BaseEntity
public void setActorRoles(Role[] roles)
Actor
setActorRoles
in interface Actor
roles
- the new actor rolespublic void setId(Long id)
PersistedModelObject
setId
in interface PersistedModelObject
id
- the new idpublic void setImportedDate(Date importedDate)
ParliamentImportedData
setImportedDate
in interface ParliamentImportedData
importedDate
- the new imported datepublic void setImportStatus(ParliamentImportedData.ImportStatus importStatus)
ParliamentImportedData
setImportStatus
in interface ParliamentImportedData
importStatus
- the new import statuspublic void setName(String name)
Actor
setName
in interface Actor
name
- 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 PoliticalPartyData
shortCode
- the new short codepublic void setVersion(Long version)
PersistedModelObject
setVersion
in interface PersistedModelObject
version
- the new versionprotected TypeContext getApplicationTypeContext()
BaseEntity
getApplicationTypeContext
in class BaseEntity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |