Enum Class BaseFynotekWord.Ablaut

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

public static enum BaseFynotekWord.Ablaut extends Enum<BaseFynotekWord.Ablaut> implements Inflection
Represents Fynotek ablaut. If a field is not applicable to a particular form of ablaut, a null character () is used. When used as an Inflection, non-null instances of this enum represent words that have been inflected, but it is unknown what they have been inflected for (only their ablaut is known).
Since:
2.0
  • Enum Constant Details

    • DEFAULT

      public static final BaseFynotekWord.Ablaut DEFAULT
      Represents a word that has been inflected for a case or tense, but the inflection is an "implied" form of a word. Nominative-case nouns and present-tense verbs fall into this category. 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 ablaut.
    • A

      public static final BaseFynotekWord.Ablaut A
      Represents A ablaut. The secondary letter for A ablaut is E.
    • E

      public static final BaseFynotekWord.Ablaut E
      Represents E ablaut. The secondary letter for E ablaut is A (in modern Fynotek) or I (in old Fynotek).
    • I

      public static final BaseFynotekWord.Ablaut I
      Represents I ablaut. The secondary letter for I ablaut is Y.
    • Y

      public static final BaseFynotekWord.Ablaut Y
      Represents Y ablaut. The secondary letter for Y ablaut is I.
    • O

      public static final BaseFynotekWord.Ablaut O
      Represents O ablaut. The secondary letter for O ablaut is U.
    • U

      public static final BaseFynotekWord.Ablaut U
      Represents U ablaut. The secondary letter for U ablaut is O.
    • REDUPLICATION

      public static final BaseFynotekWord.Ablaut REDUPLICATION
      Represents reduplication ablaut. This lengthens a word's final vowel if it is short, and shortens it if it is long.
  • Field Details

    • asChar

      public final char asChar
      The (primary) letter of this ablaut as a char. DEFAULT and REDUPLICATION have no letter association, so this field is a null character ('' for them.
    • secondary

      public final char secondary
      The letter paired with this ablaut as a char. This field stores the letter to be used if the last vowel of a word is already the ablaut's primary letter (shown as its enum constant name). That is, if applying a primary letter to a root form would have no effect, this letter will be used instead. DEFAULT and REDUPLICATION have no letter association, so this field is a null character ('' for them. The character stored in this field is biased towards modern Fynotek, so E has 'a' in this field and not 'i'.
  • Method Details

    • values

      public static BaseFynotekWord.Ablaut[] 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 BaseFynotekWord.Ablaut 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()
      This method is solely to provide compatibility with the Inflection interface. It simply returns this.
      Specified by:
      getAblaut in interface Inflection
      Returns:
      this
      Since:
      3.0
      See Also: