|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.directdemocracyportal.democracy.model.core.BaseEntity org.directdemocracyportal.democracy.model.core.Agent org.directdemocracyportal.democracy.model.core.GroupAgent org.directdemocracyportal.democracy.model.world.Organisation org.directdemocracyportal.democracy.model.world.Government
@Entity public class Government extends Organisation
The Class Government.
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 and Description |
---|
Government()
Instantiates a new government. |
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 |
---|
public Government()
Method Detail |
---|
public GovernmentType getGovernmentType()
public void setGovernmentType(GovernmentType GovernmentType)
GovernmentType
- the new government typepublic java.util.Set<Election> getElections()
public void setElections(java.util.Set<Election> elections)
elections
- the new electionspublic Person getHeadofState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |