Enum Class Genero

java.lang.Object
java.lang.Enum<Genero>
com.tfg.crud.GestorBiblioteca.entity.Genero
All Implemented Interfaces:
Serializable, Comparable<Genero>, Constable

public enum Genero extends Enum<Genero>
Author:
Usuario
  • Enum Constant Details

    • ACCION

      public static final Genero ACCION
    • HISTORICA

      public static final Genero HISTORICA
    • CIENCIA_FICCION

      public static final Genero CIENCIA_FICCION
    • NOVELA_NEGRA

      public static final Genero NOVELA_NEGRA
    • ROMANTICA

      public static final Genero ROMANTICA
    • ENCICLOPEDIA

      public static final Genero ENCICLOPEDIA
    • DICCIONARIO

      public static final Genero DICCIONARIO
    • POESIA

      public static final Genero POESIA
    • TEATRO

      public static final Genero TEATRO
  • Method Details

    • values

      public static Genero[] 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 Genero 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