Enum Class Security

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

public enum Security extends Enum<Security> implements ComboAlias
An enumeration of Library entry security options.
Since:
5.3
Version:
5.3
Author:
Luke
  • Enum Constant Details

    • PUBLIC

      public static final Security PUBLIC
    • AUTH

      public static final Security AUTH
    • STAFF

      public static final Security STAFF
  • Method Details

    • values

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