Enum LiteraryArtsSubtypeEnum
- java.lang.Object
-
- java.lang.Enum<LiteraryArtsSubtypeEnum>
-
- no.unit.nva.model.instancetypes.artistic.literaryarts.LiteraryArtsSubtypeEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LiteraryArtsSubtypeEnum>
public enum LiteraryArtsSubtypeEnum extends java.lang.Enum<LiteraryArtsSubtypeEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ESSAYNOVELNOVELLAOTHERPLAYPOETRYRETELLINGSHORT_FICTIONTRANSLATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()LiteraryArtsSubtypeEnumlookup(java.lang.String candidate)static LiteraryArtsSubtypeEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LiteraryArtsSubtypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOVEL
public static final LiteraryArtsSubtypeEnum NOVEL
-
POETRY
public static final LiteraryArtsSubtypeEnum POETRY
-
NOVELLA
public static final LiteraryArtsSubtypeEnum NOVELLA
-
SHORT_FICTION
public static final LiteraryArtsSubtypeEnum SHORT_FICTION
-
ESSAY
public static final LiteraryArtsSubtypeEnum ESSAY
-
TRANSLATION
public static final LiteraryArtsSubtypeEnum TRANSLATION
-
RETELLING
public static final LiteraryArtsSubtypeEnum RETELLING
-
PLAY
public static final LiteraryArtsSubtypeEnum PLAY
-
OTHER
public static final LiteraryArtsSubtypeEnum OTHER
-
-
Method Detail
-
values
public static LiteraryArtsSubtypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LiteraryArtsSubtypeEnum c : LiteraryArtsSubtypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LiteraryArtsSubtypeEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getName
public java.lang.String getName()
-
lookup
public LiteraryArtsSubtypeEnum lookup(java.lang.String candidate)
-
-