Enum Class FynotekWord.Case

java.lang.Object
java.lang.Enum<FynotekWord.Case>
com.mathmaster13.fynotek.FynotekWord.Case
All Implemented Interfaces:
Inflection, SpecificInflection, Serializable, Comparable<FynotekWord.Case>, Constable
Enclosing class:
FynotekWord

public static enum FynotekWord.Case extends Enum<FynotekWord.Case> implements SpecificInflection
Represents the case of a Fynotek noun.
Since:
2.0
See Also:
  • Enum Constant Details

    • NOMINATIVE

      public static final FynotekWord.Case NOMINATIVE
      Represents the nominative case, marked with DEFAULT ablaut. The word "folo" cannot be inflected as this case.
      See Also:
    • ACCUSATIVE

      public static final FynotekWord.Case ACCUSATIVE
      Represents the accusative case, usually marked with O ablaut.
    • GENITIVE

      public static final FynotekWord.Case GENITIVE
      Represents the genitive case, marked with I ablaut.
    • DATIVE

      public static final FynotekWord.Case DATIVE
      Represents the dative case, marked with A ablaut.
    • OTHER

      public static final FynotekWord.Case OTHER
      Represents any other case not given a constant here, such as prepositional cases. In essence, it is the "default" case, and as such is inflected using DEFAULT ablaut. Unlike the NOMINATIVE case, "folo" can be inflected as this case. Note that this does not represent the root form of a word (the morpheme itself which is not inflected at all)—that is represented by a null inflection.
  • Method Details

    • values

      public static FynotekWord.Case[] 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 FynotekWord.Case 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
    • getAblaut

      @NotNull public @NotNull BaseFynotekWord.Ablaut getAblaut()
      Returns the ablaut associated with this noun case. This method only gives the typical ablaut used (stored in a final field), and does not account for irregular words (such as "folo"). For that, use BaseFynotekWord.getAblaut().
      Specified by:
      getAblaut in interface Inflection
      Returns:
      the ablaut associated with this noun case.
      See Also: