org.directdemocracyportal.democracy.model.world
Class Person

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

@Entity
public class Person
extends Agent

The Class Person.

See Also:
Serialized Form

Constructor Summary
Constructor and Description
Person()
          Instantiates a new person.
Person(java.lang.String name)
          Instantiates a new person.
 
Method Summary
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

Person

public Person()
Instantiates a new person.


Person

public Person(java.lang.String name)
Instantiates a new person.

Parameters:
name - the name
Method Detail

getPoliticalParty

public PoliticalParty getPoliticalParty()
Gets the political party.

Returns:
the political party

getRoleInOrg

public Role getRoleInOrg(Organisation organisation)
Gets the role in org.

Parameters:
organisation - the organisation
Returns:
the role in org


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