|
||||||||||
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.PoliticalParty
@Entity public class PoliticalParty extends Organisation
The Class PoliticalParty.
Modifier and Type | Class and Description |
---|
Nested classes/interfaces inherited from class org.directdemocracyportal.democracy.model.world.Organisation |
---|
Organisation.OrganisationRoles |
Constructor and Description |
---|
PoliticalParty()
Instantiates a new political party. |
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 |
---|
public PoliticalParty()
Method Detail |
---|
public java.lang.String getShortCode()
public void setShortCode(java.lang.String shortCode)
shortCode
- the new short codepublic boolean isOffline()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |