Enum Class PersonDisplay

java.lang.Object
java.lang.Enum<PersonDisplay>
be.gaudry.model.bibliobrol.enumeration.PersonDisplay
All Implemented Interfaces:
Serializable, Comparable<PersonDisplay>, Constable

public enum PersonDisplay extends Enum<PersonDisplay>
Used to set the user defined display for the persons
Since:
1.0 4 oct. 2008
Author:
Steph GAUDRY
  • Enum Constant Details

    • FIRSTNAME_LASTNAME

      public static final PersonDisplay FIRSTNAME_LASTNAME
    • LASTNAME_FIRSTNAME

      public static final PersonDisplay LASTNAME_FIRSTNAME
    • LASTNAME_FIRSTNAME_PSEUDO

      public static final PersonDisplay LASTNAME_FIRSTNAME_PSEUDO
    • PSEUDO

      public static final PersonDisplay PSEUDO
    • PSEUDO_LASTNAME_FIRSTNAME

      public static final PersonDisplay PSEUDO_LASTNAME_FIRSTNAME
  • Method Details

    • values

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