org.jscience.law
Class Lawyer

java.lang.Object
  extended by org.jscience.sociology.Role
      extended by org.jscience.economics.EconomicAgent
          extended by org.jscience.economics.Worker
              extended by org.jscience.law.Lawyer
All Implemented Interfaces:
Named

public class Lawyer
extends Worker

The Lawyer class provides some useful information for people whose job is to defend individuals.


Field Summary
 
Fields inherited from class org.jscience.sociology.Role
CLIENT, OBSERVER, SERVER, SUPERVISOR
 
Constructor Summary
Lawyer(Individual individual, LawSuitSituation lawSuitSituation, Administration administration)
          Creates a new Lawyer object.
Lawyer(Individual individual, LawSuitSituation lawSuitSituation, java.lang.String function, Administration administration)
          Creates a new Lawyer object.
 
Method Summary
 void addClient(Individual individual)
          DOCUMENT ME!
 java.util.Set getClients()
          DOCUMENT ME!
 void removeClient(Individual individual)
          DOCUMENT ME!
 void setClients(java.util.Set clients)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.economics.Worker
addSubaltern, equals, extractTree, getAllSubalterns, getAnnualIncome, getChiefs, getCommonRoot, getCoWorkers, getFunction, getLeaders, getLineage, getOrganization, getSubalterns, getSubalternsAtLevelK, getWorkedHours, hasChief, hasChild, hasChild, hasDistantSubaltern, removeSubaltern, reparent, setAnnualIncome, setFunction, setOrganization, setSubalterns, setWorkedHours
 
Methods inherited from class org.jscience.economics.EconomicAgent
addBelonging, getBelongings, getCommunity, getWallet, removeBelonging, setBelongings, setWallet
 
Methods inherited from class org.jscience.sociology.Role
getIndividual, getKind, getName, getSituation, setSituation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lawyer

public Lawyer(Individual individual,
              LawSuitSituation lawSuitSituation,
              java.lang.String function,
              Administration administration)
Creates a new Lawyer object.

Parameters:
individual - DOCUMENT ME!
lawSuitSituation - DOCUMENT ME!
function - DOCUMENT ME!
administration - DOCUMENT ME!

Lawyer

public Lawyer(Individual individual,
              LawSuitSituation lawSuitSituation,
              Administration administration)
Creates a new Lawyer object.

Parameters:
individual - DOCUMENT ME!
lawSuitSituation - DOCUMENT ME!
administration - DOCUMENT ME!
Method Detail

getClients

public java.util.Set getClients()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setClients

public void setClients(java.util.Set clients)
DOCUMENT ME!

Parameters:
clients - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

addClient

public void addClient(Individual individual)
DOCUMENT ME!

Parameters:
individual - DOCUMENT ME!

removeClient

public void removeClient(Individual individual)
DOCUMENT ME!

Parameters:
individual - DOCUMENT ME!