Class Jurisdiction
java.lang.Object
org.episteme.social.law.Jurisdiction
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named
Represents a legal jurisdiction, defined by its name, territory, and set of applicable statutes.
Jurisdictions can be hierarchical (e.g., a state jurisdiction within a federal jurisdiction).
Modernized to implement ComprehensiveIdentification and support dynamic traits and consistent identity.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJurisdiction(String name, Place territory) Jurisdiction(String name, Place territory, Jurisdiction parentJurisdiction) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStatute(Statute statute) booleangetId()Returns the unique identifier of this entity.Returns the traits map for this entity.inthashCode()booleanisApplicable(Statute statute) Checks if a statute is applicable in this jurisdiction (including inherited).toString()Methods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
Jurisdiction
-
Jurisdiction
-
-
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
-
getTerritory
-
getParentJurisdiction
-
addStatute
-
getStatutes
-
isApplicable
Checks if a statute is applicable in this jurisdiction (including inherited). -
equals
-
hashCode
-
toString
-