com.hack23.cia.model.api.sweden.content
Interface PoliticalPartyData

Package class diagram package PoliticalPartyData
All Superinterfaces:
Actor, Agent, Data, Group, ModelObject, ParliamentGroup, ParliamentImportedData, ParliamentMappedData, PersistedModelObject, Resource, Serializable
All Known Implementing Classes:
PoliticalParty

public interface PoliticalPartyData
extends ParliamentGroup, ParliamentImportedData

The Interface PoliticalPartyData.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hack23.cia.model.api.sweden.common.ParliamentImportedData
ParliamentImportedData.ImportStatus
 
Method Summary
 void addParliamentMember(ParliamentMemberData parliamentMember)
          Adds the parliament member.
 Election getElection()
          Gets the election.
 String getShortCode()
          Gets the short code.
 void setShortCode(String trim)
          Sets the short code.
 
Methods inherited from interface com.hack23.cia.model.api.common.Actor
getActorDefinedRoles, getActorRoles, getName, setActorDefinedRoles, setActorRoles, setName
 
Methods inherited from interface com.hack23.cia.model.api.sweden.common.ParliamentImportedData
dataCanBeUpdated, generatesParliamentMetaData, getImportedDate, getImportStatus, getParliamentMetaData, setImportedDate, setImportStatus
 
Methods inherited from interface com.hack23.cia.model.api.common.Resource
getResourceType
 
Methods inherited from interface com.hack23.cia.model.api.common.PersistedModelObject
getId, getTypeContext, getVersion, isNew, setId, setVersion
 

Method Detail

addParliamentMember

void addParliamentMember(ParliamentMemberData parliamentMember)
Adds the parliament member.

Parameters:
parliamentMember - the parliament member

getElection

Election getElection()
Gets the election.

Returns:
the election

getShortCode

String getShortCode()
Gets the short code.

Returns:
the short code

setShortCode

void setShortCode(String trim)
Sets the short code.

Parameters:
trim - the new short code


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