Class Act
java.lang.Object
org.episteme.social.law.Act
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named
A class representing a legal act or certificate (contract, deed, etc.)
which defines social and legal relations such as ownership, citizenship,
marriage, or nationality.
Modernized to implement ComprehensiveIdentification and use ActKind extensible enum.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAct(Identification id, ActKind kind, TimeCoordinate date, String object, Set<Human> subjects) Creates a new Act object. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetDate()getId()Returns the unique identifier of this entity.getKind()Returns the traits map for this entity.inthashCode()voidsetDate(TimeCoordinate date) voidvoidvoidsetSubjects(Set<Human> subjects) toString()Methods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
Act
public Act(Identification id, ActKind kind, TimeCoordinate date, String object, Set<Human> subjects) Creates a new Act object.- Parameters:
id- the unique identification of this actkind- the categorical classification of the actdate- the date when the act was established or signedobject- the primary content or legal consequences of the actsubjects- the set of individuals concerned by this act- Throws:
NullPointerException- if any required argument is null
-
-
Method Details
-
getId
Description copied from interface:IdentifiedReturns the unique identifier of this entity.- Specified by:
getIdin interfaceIdentified<Identification>- Returns:
- the identifier
-
getTraits
Description copied from interface:ComprehensiveIdentificationReturns the traits map for this entity.- Specified by:
getTraitsin interfaceCommented- Specified by:
getTraitsin interfaceComprehensiveIdentification- Returns:
- the traits map
-
getKind
-
setKind
-
getDate
-
setDate
-
getObject
-
setObject
-
getSubjects
-
setSubjects
-
equals
-
hashCode
-
toString
-