Enum Class ConnectionFlag

java.lang.Object
java.lang.Enum<ConnectionFlag>
br.net.dd.netherwingcore.database.common.ConnectionFlag
All Implemented Interfaces:
Serializable, Comparable<ConnectionFlag>, Constable

public enum ConnectionFlag extends Enum<ConnectionFlag>
Flags used to specify the type of connection for database operations.
  • Enum Constant Details

    • CONNECTION_ASYNC

      public static final ConnectionFlag CONNECTION_ASYNC
    • CONNECTION_SYNC

      public static final ConnectionFlag CONNECTION_SYNC
    • CONNECTION_BOTH

      public static final ConnectionFlag CONNECTION_BOTH
  • Method Details

    • values

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