Enum Class Book.Genre

java.lang.Object
java.lang.Enum<Book.Genre>
org.episteme.social.arts.Book.Genre
All Implemented Interfaces:
Serializable, Comparable<Book.Genre>, Constable
Enclosing class:
Book

public static enum Book.Genre extends Enum<Book.Genre>
Litery and publication genres.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Enum Constant Details

    • FICTION

      public static final Book.Genre FICTION
    • NON_FICTION

      public static final Book.Genre NON_FICTION
    • SCIENCE

      public static final Book.Genre SCIENCE
    • HISTORY

      public static final Book.Genre HISTORY
    • BIOGRAPHY

      public static final Book.Genre BIOGRAPHY
    • FANTASY

      public static final Book.Genre FANTASY
    • MYSTERY

      public static final Book.Genre MYSTERY
    • ROMANCE

      public static final Book.Genre ROMANCE
    • HORROR

      public static final Book.Genre HORROR
    • SCIENCE_FICTION

      public static final Book.Genre SCIENCE_FICTION
    • POETRY

      public static final Book.Genre POETRY
    • DRAMA

      public static final Book.Genre DRAMA
    • PHILOSOPHY

      public static final Book.Genre PHILOSOPHY
    • RELIGION

      public static final Book.Genre RELIGION
    • REFERENCE

      public static final Book.Genre REFERENCE
  • Method Details

    • values

      public static Book.Genre[] 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 Book.Genre 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