Enum Class EmployeeTypeDefinition
java.lang.Object
java.lang.Enum<EmployeeTypeDefinition>
org.odpi.openmetadata.samples.archiveutilities.organization.EmployeeTypeDefinition
- All Implemented Interfaces:
Serializable
,Comparable<EmployeeTypeDefinition>
,Constable
The EmployeeTypeDefinition is used to feed the definition of the EmployeeType valid value set for Coco Pharmaceuticals' employees.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis person is on the board and does not work for the organization.This employee is on a temporary contract.This employee was dismissed from the company.This person is not an employee - they are an executive of the organization.This permanent employee is contracted to work 35 hours or more per week.This employee has left the company either because they resigned or took redundancy.This permanent employee is contracted to work less than 35 hours a week.This person works for a partner organization.This employee has retired from the company.This permanent employee has a leave of absence.This temporary employee is a trainee gaining work experience. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturn the description of the value's meaning.Return the printable name.This is the preferred value that applications should use for this valid value.toString()
Output of this enum class and main value.static EmployeeTypeDefinition
Returns the enum constant of this class with the specified name.static EmployeeTypeDefinition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXECUTIVE
This person is not an employee - they are an executive of the organization. -
BOARD_ADVISOR
This person is on the board and does not work for the organization. -
FULL_TIME_PERMANENT
This permanent employee is contracted to work 35 hours or more per week. -
PART_TIME_PERMANENT
This permanent employee is contracted to work less than 35 hours a week. -
STUDENT
This temporary employee is a trainee gaining work experience. -
SABBATICAL
This permanent employee has a leave of absence. -
CONTRACTOR
This employee is on a temporary contract. -
PARTNER
This person works for a partner organization. -
LEFT
This employee has left the company either because they resigned or took redundancy. -
RETIRED
This employee has retired from the company. -
DISMISSED
This employee was dismissed from the company.
-
-
Field Details
-
validValueSetName
- See Also:
-
validValueSetDescription
- See Also:
-
validValueSetUsage
- See Also:
-
validValueSetScope
- See Also:
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getPreferredValue
This is the preferred value that applications should use for this valid value.- Returns:
- string value
-
getDisplayName
Return the printable name.- Returns:
- string name
-
getDescription
Return the description of the value's meaning.- Returns:
- string text
-
toString
Output of this enum class and main value.- Overrides:
toString
in classEnum<EmployeeTypeDefinition>
- Returns:
- string showing enum value
-