org.directdemocracyportal.democracy.model.world
Class Government

Package class diagram package Government
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.Government
All Implemented Interfaces:
java.io.Serializable

@Entity
public class Government
extends Organisation

The Class Government.

See Also:
Serialized Form

Nested Class Summary
Modifier and Type Class and Description
static class Government.GovernmentRoles
          The Enum GovernmentRoles.
 
Nested classes/interfaces inherited from class org.directdemocracyportal.democracy.model.world.Organisation
Organisation.OrganisationRoles
 
Constructor Summary
Constructor and Description
Government()
          Instantiates a new government.
 
Method Summary
Modifier and Type Method and Description
 java.util.Set<Election> getElections()
          Gets the elections.
 GovernmentType getGovernmentType()
          Gets the government type.
 Person getHeadofState()
          Gets the headof state.
 void setElections(java.util.Set<Election> elections)
          Sets the elections.
 void setGovernmentType(GovernmentType GovernmentType)
          Sets the government type.
 
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

Government

public Government()
Instantiates a new government.

Method Detail

getGovernmentType

public GovernmentType getGovernmentType()
Gets the government type.

Returns:
the government type

setGovernmentType

public void setGovernmentType(GovernmentType GovernmentType)
Sets the government type.

Parameters:
GovernmentType - the new government type

getElections

public java.util.Set<Election> getElections()
Gets the elections.

Returns:
the elections

setElections

public void setElections(java.util.Set<Election> elections)
Sets the elections.

Parameters:
elections - the new elections

getHeadofState

public Person getHeadofState()
Gets the headof state.

Returns:
the headof state


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