|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.directdemocracyportal.democracy.model.core.BaseEntity
org.directdemocracyportal.democracy.model.core.Agent
org.directdemocracyportal.democracy.model.world.Person
@Entity public class Person extends Agent
The Class Person.
| Constructor and Description |
|---|
Person()
Instantiates a new person. |
Person(java.lang.String name)
Instantiates a new person. |
| Modifier and Type | Method and Description |
|---|---|
PoliticalParty |
getPoliticalParty()
Gets the political party. |
Role |
getRoleInOrg(Organisation organisation)
Gets the role in org. |
| 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 Person()
public Person(java.lang.String name)
name - the name| Method Detail |
|---|
public PoliticalParty getPoliticalParty()
public Role getRoleInOrg(Organisation organisation)
organisation - the organisation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||