org.directdemocracyportal.democracy.model.application
Class GovernmentPortal

Package class diagram package GovernmentPortal
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.application.Portal
                      extended by org.directdemocracyportal.democracy.model.application.GovernmentPortal
All Implemented Interfaces:
java.io.Serializable

@Entity
public class GovernmentPortal
extends Portal

The Class GovernmentPortal.

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
GovernmentPortal()
          Instantiates a new government portal.
 
Method Summary
Modifier and Type Method and Description
 Government getGovernment()
          Gets the government.
 void setGovernment(Government government)
          Sets the government.
 
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

GovernmentPortal

public GovernmentPortal()
Instantiates a new government portal.

Method Detail

getGovernment

public Government getGovernment()
Gets the government.

Returns:
the government

setGovernment

public void setGovernment(Government government)
Sets the government.

Parameters:
government - the new government


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