Enum Class EmployeeTypeDefinition

java.lang.Object
java.lang.Enum<EmployeeTypeDefinition>
org.odpi.openmetadata.samples.archiveutilities.organization.EmployeeTypeDefinition
All Implemented Interfaces:
Serializable, Comparable<EmployeeTypeDefinition>, Constable

public enum EmployeeTypeDefinition extends Enum<EmployeeTypeDefinition>
The EmployeeTypeDefinition is used to feed the definition of the EmployeeType valid value set for Coco Pharmaceuticals' employees.
  • Enum Constant Details

    • EXECUTIVE

      public static final EmployeeTypeDefinition EXECUTIVE
      This person is not an employee - they are an executive of the organization.
    • BOARD_ADVISOR

      public static final EmployeeTypeDefinition BOARD_ADVISOR
      This person is on the board and does not work for the organization.
    • FULL_TIME_PERMANENT

      public static final EmployeeTypeDefinition FULL_TIME_PERMANENT
      This permanent employee is contracted to work 35 hours or more per week.
    • PART_TIME_PERMANENT

      public static final EmployeeTypeDefinition PART_TIME_PERMANENT
      This permanent employee is contracted to work less than 35 hours a week.
    • STUDENT

      public static final EmployeeTypeDefinition STUDENT
      This temporary employee is a trainee gaining work experience.
    • SABBATICAL

      public static final EmployeeTypeDefinition SABBATICAL
      This permanent employee has a leave of absence.
    • CONTRACTOR

      public static final EmployeeTypeDefinition CONTRACTOR
      This employee is on a temporary contract.
    • PARTNER

      public static final EmployeeTypeDefinition PARTNER
      This person works for a partner organization.
    • LEFT

      public static final EmployeeTypeDefinition LEFT
      This employee has left the company either because they resigned or took redundancy.
    • RETIRED

      public static final EmployeeTypeDefinition RETIRED
      This employee has retired from the company.
    • DISMISSED

      public static final EmployeeTypeDefinition DISMISSED
      This employee was dismissed from the company.
  • Field Details

  • Method Details

    • values

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

      public String getPreferredValue()
      This is the preferred value that applications should use for this valid value.
      Returns:
      string value
    • getDisplayName

      public String getDisplayName()
      Return the printable name.
      Returns:
      string name
    • getDescription

      public String getDescription()
      Return the description of the value's meaning.
      Returns:
      string text
    • toString

      public String toString()
      Output of this enum class and main value.
      Overrides:
      toString in class Enum<EmployeeTypeDefinition>
      Returns:
      string showing enum value