org.jscience.law
Class Defendant

java.lang.Object
  extended by org.jscience.sociology.Role
      extended by org.jscience.law.Defendant
All Implemented Interfaces:
Named

public class Defendant
extends Role

The people against whom the trial is done, may be a human, a group, a country... (a Set of HumanGroups)


Field Summary
 
Fields inherited from class org.jscience.sociology.Role
CLIENT, OBSERVER, SERVER, SUPERVISOR
 
Constructor Summary
Defendant(Individual individual, LawSuitSituation lawSuitSituation)
          Creates a new Defendant object.
 
Method Summary
 void addCharge(java.lang.String charge)
          DOCUMENT ME!
 java.util.Set getCharges()
          DOCUMENT ME!
 void removeCharge(java.lang.String charge)
          DOCUMENT ME!
 void setCharges(java.util.Set charges)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.sociology.Role
getIndividual, getKind, getName, getSituation, setSituation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Defendant

public Defendant(Individual individual,
                 LawSuitSituation lawSuitSituation)
Creates a new Defendant object.

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

getCharges

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

Returns:
DOCUMENT ME!

setCharges

public void setCharges(java.util.Set charges)
DOCUMENT ME!

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

addCharge

public void addCharge(java.lang.String charge)
DOCUMENT ME!

Parameters:
charge - DOCUMENT ME!

removeCharge

public void removeCharge(java.lang.String charge)
DOCUMENT ME!

Parameters:
charge - DOCUMENT ME!