Class ResponsibleIndividual
java.lang.Object
org.episteme.social.sociology.Role
org.episteme.social.law.ResponsibleIndividual
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Temporal<TimeCoordinate>
Represents an individual's legal and administrative status within a jurisdiction.
This includes their educational history, legal record, and biometric data.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Field Summary
Fields inherited from class Role
CLIENT, OBSERVER, SERVER, SUPERVISOR -
Constructor Summary
ConstructorsConstructorDescriptionResponsibleIndividual(Individual individual, StreetSituation situation) Creates a new ResponsibleIndividual for a given person in a specific legal context. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPoliceRecord(ScientificReport policeRecord) Adds a new police report or record.voidaddSchoolRecord(License schoolRecord) Adds a new educational degree or certificate.Returns the biometric data for the individual.Returns the list of legal and police reports.Returns the list of educational degrees and certifications (school records).voidRemoves the most recent police record.voidRemoves the most recent educational record.voidremovePoliceRecord(ScientificReport policeRecord) Removes a specific police report or record.voidremoveSchoolRecord(License schoolRecord) Removes an educational degree or certificate.voidsetBiometrics(Biometrics biometrics) Sets the biometric data for the individual.voidsetPoliceRecords(List<ScientificReport> policeRecords) Sets the complete list of police records.voidsetSchoolRecords(List<License> schoolRecords) Sets the complete list of educational records.Methods inherited from class Role
equals, getId, getIndividual, getKind, getSituation, getTraits, getWhen, hashCode, setKind, setTimestamp, toStringMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
ResponsibleIndividual
Creates a new ResponsibleIndividual for a given person in a specific legal context.- Parameters:
individual- the individual being representedsituation- the street situation context (e.g., citizenship or residence context)
-
-
Method Details
-
getSchoolRecords
-
addSchoolRecord
Adds a new educational degree or certificate.- Parameters:
schoolRecord- the license/diploma to add- Throws:
IllegalArgumentException- if the record is null
-
removeSchoolRecord
Removes an educational degree or certificate.- Parameters:
schoolRecord- the record to remove
-
removeLastSchoolRecord
public void removeLastSchoolRecord()Removes the most recent educational record. -
setSchoolRecords
Sets the complete list of educational records.- Parameters:
schoolRecords- the list of License objects- Throws:
IllegalArgumentException- if the list is null or contains non-License elements
-
getPoliceRecords
Returns the list of legal and police reports.- Returns:
- the list of police records
-
addPoliceRecord
Adds a new police report or record.- Parameters:
policeRecord- the report to add- Throws:
IllegalArgumentException- if the record is null
-
removePoliceRecord
Removes a specific police report or record.- Parameters:
policeRecord- the report to remove
-
removeLastPoliceRecord
public void removeLastPoliceRecord()Removes the most recent police record. -
setPoliceRecords
Sets the complete list of police records.- Parameters:
policeRecords- the list of Report objects- Throws:
IllegalArgumentException- if the list is null or contains non-Report elements
-
getBiometrics
Returns the biometric data for the individual.- Returns:
- the biometric data, or null if not available
-
setBiometrics
Sets the biometric data for the individual.- Parameters:
biometrics- the biometric data to set
-