Class Defendant

java.lang.Object
org.episteme.social.sociology.Role
org.episteme.social.law.Defendant
All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Temporal<TimeCoordinate>

public class Defendant extends Role
Represents the defendant in a legal proceeding. A defendant is an individual or entity against whom a lawsuit or criminal charge is brought.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
See Also:
  • Constructor Details

    • Defendant

      public Defendant(Individual individual, LawSuitSituation lawSuitSituation)
      Creates a new Defendant object.
      Parameters:
      individual - the individual taking the role of defendant
      lawSuitSituation - the legal situation or trial context
  • Method Details

    • getCharges

      public Set<String> getCharges()
      Returns the set of charges brought against the defendant.
      Returns:
      a set of charge descriptions
    • setCharges

      public void setCharges(Set<String> charges)
      Sets the legal charges for this defendant.
      Parameters:
      charges - a set of strings representing individual charges
      Throws:
      IllegalArgumentException - if the set is null or contains non-string elements
    • addCharge

      public void addCharge(String charge)
      Adds a specific charge to the defendant's record.
      Parameters:
      charge - the charge description
    • removeCharge

      public void removeCharge(String charge)
      Removes a specific charge from the defendant's record.
      Parameters:
      charge - the charge description to remove