org.directdemocracyportal.democracy.model.world
Class PoliticalParty

Package class diagram package PoliticalParty
java.lang.Object
  extended by org.directdemocracyportal.democracy.model.core.BaseEntity
      extended by org.directdemocracyportal.democracy.model.core.Agent
          extended by org.directdemocracyportal.democracy.model.core.GroupAgent
              extended by org.directdemocracyportal.democracy.model.world.Organisation
                  extended by org.directdemocracyportal.democracy.model.world.PoliticalParty
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
OnlinePoliticalParty

@Entity
public class PoliticalParty
extends Organisation

The Class PoliticalParty.

See Also:
Serialized Form

Nested Class Summary
Modifier and Type Class and Description
 
Nested classes/interfaces inherited from class org.directdemocracyportal.democracy.model.world.Organisation
Organisation.OrganisationRoles
 
Constructor Summary
Constructor and Description
PoliticalParty()
          Instantiates a new political party.
 
Method Summary
Modifier and Type Method and Description
 java.lang.String getShortCode()
          Gets the short code.
 boolean isOffline()
          Checks if is offline.
 void setShortCode(java.lang.String shortCode)
          Sets the short code.
 
Methods inherited from class org.directdemocracyportal.democracy.model.world.Organisation
addMember, findMemberByFullNameAndParty, findMemberByName, findOrgByAbbr, findResourceByName, getAbbreviation, getActivePoliticalParties, getCountry, getNumberOfMembers, getOrganisationType, getRegion, personsActive, playsRoleInOrganisation, removeMember, setAbbreviation, setCountry, setNumberOfMembers, setOrganisationType, setRegion
 
Methods inherited from class org.directdemocracyportal.democracy.model.core.GroupAgent
findDefinedRoleByName, findOrgByName, getChildren, getDefinedRoles, getParent, setChildren, setDefinedRoles, setParent
 
Methods inherited from class org.directdemocracyportal.democracy.model.core.Agent
equals, getId, getName, getResources, getRoles, hashCode, setId, setName, setResources, setRoles
 
Methods inherited from class org.directdemocracyportal.democracy.model.core.BaseEntity
isNew
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoliticalParty

public PoliticalParty()
Instantiates a new political party.

Method Detail

getShortCode

public java.lang.String getShortCode()
Gets the short code.

Returns:
the short code

setShortCode

public void setShortCode(java.lang.String shortCode)
Sets the short code.

Parameters:
shortCode - the new short code

isOffline

public boolean isOffline()
Checks if is offline.

Returns:
true, if is offline


Copyright © 2004-2010 www.DirectDemocracyPortal.org. All Rights Reserved.