Enum Class PersonDisplay

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

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

    • FIRSTNAME_LASTNAME

      public static final PersonDisplay FIRSTNAME_LASTNAME
    • LASTNAME_FIRSTNAME

      public static final PersonDisplay 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