Enum Class GovernanceRoleDefinition
java.lang.Object
java.lang.Enum<GovernanceRoleDefinition>
org.odpi.openmetadata.samples.archiveutilities.governanceprogram.GovernanceRoleDefinition
- All Implemented Interfaces:
Serializable
,Comparable<GovernanceRoleDefinition>
,Constable
The SustainabilityRoleDefinition is used to feed the definition of the governance roles for
Coco Pharmaceuticals' sustainability program.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the appointees.Returns a detailed description of the role.Returns a descriptive name of the role.Return the domain of the governance role.int
Returns the number of people that can be appointed to the role.Returns the unique name for the role.Returns the unique name for the role entity.getScope()
Returns the breadth of responsibility for the role.Return the name of the PersonRole type to use.boolean
Should the headcount property be set on the role.toString()
Output of this enum class and main value.static GovernanceRoleDefinition
Returns the enum constant of this class with the specified name.static GovernanceRoleDefinition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GOVERNANCE_LEADER
Chief Governance Officer (CGO)
-
-
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
-
getTypeName
Return the name of the PersonRole type to use.- Returns:
- type name
-
getQualifiedName
Returns the unique name for the role entity.- Returns:
- identifier
-
getIdentifier
Returns the unique name for the role.- Returns:
- identifier
-
getDomain
Return the domain of the governance role.- Returns:
- domain
-
getAppointees
Return the appointees.- Returns:
- list of profiles
-
getDisplayName
Returns a descriptive name of the role.- Returns:
- display name
-
getDescription
Returns a detailed description of the role.- Returns:
- description
-
getScope
Returns the breadth of responsibility for the role.- Returns:
- scope
-
isHeadCountSet
public boolean isHeadCountSet()Should the headcount property be set on the role.- Returns:
- flag
-
getHeadCount
public int getHeadCount()Returns the number of people that can be appointed to the role.- Returns:
- number
-
toString
Output of this enum class and main value.- Overrides:
toString
in classEnum<GovernanceRoleDefinition>
- Returns:
- string showing enum value
-