Enum Class GovernanceRoleDefinition

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

public enum GovernanceRoleDefinition extends Enum<GovernanceRoleDefinition>
The SustainabilityRoleDefinition is used to feed the definition of the governance roles for Coco Pharmaceuticals' sustainability program.
  • Enum Constant Details

  • Method Details

    • values

      public static GovernanceRoleDefinition[] 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 GovernanceRoleDefinition 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
    • getTypeName

      public String getTypeName()
      Return the name of the PersonRole type to use.
      Returns:
      type name
    • getQualifiedName

      public String getQualifiedName()
      Returns the unique name for the role entity.
      Returns:
      identifier
    • getIdentifier

      public String getIdentifier()
      Returns the unique name for the role.
      Returns:
      identifier
    • getDomain

      public GovernanceDomainDefinition getDomain()
      Return the domain of the governance role.
      Returns:
      domain
    • getAppointees

      public PersonDefinition[] getAppointees()
      Return the appointees.
      Returns:
      list of profiles
    • getDisplayName

      public String getDisplayName()
      Returns a descriptive name of the role.
      Returns:
      display name
    • getDescription

      public String getDescription()
      Returns a detailed description of the role.
      Returns:
      description
    • getScope

      public String 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

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