Class Proposition

java.lang.Object
org.episteme.social.philosophy.epistemology.Proposition
All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named

public class Proposition extends Object implements ComprehensiveIdentification
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 Details

    • Proposition

      public Proposition(String content)
      Creates a new Proposition with a specific content. By default, the truth value is false (unassigned/unverified).
      Parameters:
      content - the statement content
    • Proposition

      public Proposition(String content, boolean truthValue)
      Creates a new Proposition with content and a truth value.
      Parameters:
      content - the statement content
      truthValue - the truth value
  • Method Details

    • getId

      public Identification getId()
      Description copied from interface: Identified
      Returns the unique identifier of this entity.
      Specified by:
      getId in interface Identified<Identification>
      Returns:
      the identifier
    • getTraits

      public Map<String,Object> getTraits()
      Description copied from interface: ComprehensiveIdentification
      Returns the traits map for this entity.
      Specified by:
      getTraits in interface Commented
      Specified by:
      getTraits in interface ComprehensiveIdentification
      Returns:
      the traits map
    • getContent

      public String getContent()
      Returns the content of the proposition.
      Returns:
      the content
    • 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object