Package com.mathmaster13.fynotek
Enum Class FynotekWord.Case
- All Implemented Interfaces:
Inflection
,SpecificInflection
,Serializable
,Comparable<FynotekWord.Case>
,Constable
- Enclosing class:
- FynotekWord
Represents the case of a Fynotek noun.
- Since:
- 2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresents the accusative case, usually marked withO
ablaut.Represents the dative case, marked withA
ablaut.Represents the genitive case, marked withI
ablaut.Represents the nominative case, marked withDEFAULT
ablaut.Represents any other case not given a constant here, such as prepositional cases. -
Field Summary
Fields inherited from interface com.mathmaster13.fynotek.SpecificInflection
values
-
Method Summary
Modifier and TypeMethodDescription@NotNull BaseFynotekWord.Ablaut
Returns the ablaut associated with this noun case.static FynotekWord.Case
Returns the enum constant of this class with the specified name.static FynotekWord.Case[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NOMINATIVE
Represents the nominative case, marked withDEFAULT
ablaut. The word "folo" cannot be inflected as this case.- See Also:
-
ACCUSATIVE
Represents the accusative case, usually marked withO
ablaut. -
GENITIVE
Represents the genitive case, marked withI
ablaut. -
DATIVE
Represents the dative case, marked withA
ablaut. -
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 usingDEFAULT
ablaut. Unlike theNOMINATIVE
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 anull
inflection.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
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, useBaseFynotekWord.getAblaut()
.- Specified by:
getAblaut
in interfaceInflection
- Returns:
- the ablaut associated with this noun case.
- See Also:
-