Enum Class JdbcSongDAO.Dialect

java.lang.Object
java.lang.Enum<JdbcSongDAO.Dialect>
info.ejava.examples.db.jpa.songs.dao.JdbcSongDAO.Dialect
All Implemented Interfaces:
Serializable, Comparable<JdbcSongDAO.Dialect>, java.lang.constant.Constable
Enclosing class:
JdbcSongDAO

static enum JdbcSongDAO.Dialect extends Enum<JdbcSongDAO.Dialect>
  • Enum Constant Details

  • Field Details

    • nextvalSql

      private final String nextvalSql
  • Constructor Details

    • Dialect

      private Dialect(String nextvalSql)
  • Method Details

    • values

      public static JdbcSongDAO.Dialect[] 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 JdbcSongDAO.Dialect 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
    • getNextvalSql

      String getNextvalSql()