Class Model
java.lang.Object
org.episteme.social.philosophy.Model
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named
Represents a logical organization or cluster of interrelated concepts.
Models are used to structure philosophical systems or scientific theories, providing a framework for organizing conceptual networks.
Modernized to implement ComprehensiveIdentification and support dynamic traits and consistent identity. * @version 7.0- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConcept(Concept concept) Adds a concept to the model.booleanRetrieves all unique concepts, including those related to the direct concepts in this model, through recursive traversal.Returns an unmodifiable set of direct concepts in this model.getId()Returns the unique identifier of this entity.Returns the traits map for this entity.inthashCode()voidremoveConcept(Concept concept) Removes a concept from the model.toString()Methods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
Model
Creates a new Model with the specified name.- Parameters:
name- the identifying name of the model- Throws:
IllegalArgumentException- if name is null or empty
-
-
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
-
getConcepts
-
addConcept
Adds a concept to the model.- Parameters:
concept- the concept to add- Throws:
NullPointerException- if concept is null
-
removeConcept
Removes a concept from the model.- Parameters:
concept- the concept to remove
-
getAllConcepts
-
equals
-
hashCode
-
toString
-