Enum Class Seniority

java.lang.Object
java.lang.Enum<Seniority>
org.cswteams.ms3.enums.Seniority
All Implemented Interfaces:
Serializable, Comparable<Seniority>, Constable

public enum Seniority extends Enum<Seniority>
This enumeration provides all the possible values for specification of a Doctor's seniority.
See Also:
  • Enum Constant Details

    • STRUCTURED

      public static final Seniority STRUCTURED
      Structured doctor.
    • SPECIALIST_JUNIOR

      public static final Seniority SPECIALIST_JUNIOR
      First two years-specialist.
    • SPECIALIST_SENIOR

      public static final Seniority SPECIALIST_SENIOR
      Specialist after second year
  • Method Details

    • values

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