Enum Class Notification

java.lang.Object
java.lang.Enum<Notification>
org.deltava.beans.Notification
All Implemented Interfaces:
Serializable, Comparable<Notification>, Constable, ComboAlias

public enum Notification extends Enum<Notification> implements ComboAlias
An enumeration to store e-mail notification types.
Since:
3.6
Version:
7.0
Author:
Luke
  • Enum Constant Details

  • Method Details

    • values

      public static Notification[] 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 Notification 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
    • getComboName

      public String getComboName()
      Description copied from interface: ComboAlias
      Returns the visible name to use in the HTML <OPTION> element.
      Specified by:
      getComboName in interface ComboAlias
      Returns:
      The visible name for this entry
    • getComboAlias

      public String getComboAlias()
      Description copied from interface: ComboAlias
      Returns the alias to use in the HTML <OPTION> element.
      Specified by:
      getComboAlias in interface ComboAlias
      Returns:
      The alias for this entry
    • getCode

      public int getCode()
      Returns the notification code.
      Returns:
      the code
    • getLabel

      public String getLabel()