Class Proposition
java.lang.Object
org.episteme.social.philosophy.epistemology.Proposition
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named
Represents a statement or assertion that expresses something that can be true or false.
In epistemology, propositions are the primary objects of belief and knowledge.
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
ConstructorsConstructorDescriptionProposition(String content) Creates a new Proposition with a specific content.Proposition(String content, boolean truthValue) Creates a new Proposition with content and a truth value. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the content of the proposition.getId()Returns the unique identifier of this entity.Returns the traits map for this entity.inthashCode()booleanisTrue()Returns the truth value of the proposition.voidsetTruthValue(boolean truthValue) Sets the truth value of the proposition.toString()Methods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
Proposition
Creates a new Proposition with a specific content. By default, the truth value is false (unassigned/unverified).- Parameters:
content- the statement content
-
Proposition
Creates a new Proposition with content and a truth value.- Parameters:
content- the statement contenttruthValue- the truth value
-
-
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
-
getContent
-
isTrue
public boolean isTrue()Returns the truth value of the proposition.- Returns:
- true if the proposition is true, false otherwise
-
setTruthValue
public void setTruthValue(boolean truthValue) Sets the truth value of the proposition.- Parameters:
truthValue- the new truth value
-
equals
-
hashCode
-
toString
-