Enum Class Sentence.Purpose

java.lang.Object
java.lang.Enum<Sentence.Purpose>
org.episteme.social.linguistics.Sentence.Purpose
All Implemented Interfaces:
Serializable, Comparable<Sentence.Purpose>, Constable
Enclosing class:
Sentence

public static enum Sentence.Purpose extends Enum<Sentence.Purpose>
Communicative intent (illocutionary force) of the sentence.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Enum Constant Details

    • DECLARATIVE

      public static final Sentence.Purpose DECLARATIVE
      Statement of fact.
    • INTERROGATIVE

      public static final Sentence.Purpose INTERROGATIVE
      Question.
    • RHETORICAL

      public static final Sentence.Purpose RHETORICAL
      Stylistic question without expected answer.
    • EXCLAMATORY

      public static final Sentence.Purpose EXCLAMATORY
      Expression of strong emotion.
    • IMPERATIVE

      public static final Sentence.Purpose IMPERATIVE
      Command or request.
    • UNKNOWN

      public static final Sentence.Purpose UNKNOWN
  • Method Details

    • values

      public static Sentence.Purpose[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Sentence.Purpose valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null