Enum Class SustainabilityRoleDefinition

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

public enum SustainabilityRoleDefinition extends Enum<SustainabilityRoleDefinition>
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 SustainabilityRoleDefinition[] 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 SustainabilityRoleDefinition 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
    • 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 ScopeDefinition 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
    • getBusinessArea

      public BusinessAreaDefinition getBusinessArea()
      The business area of the sustainability champion role.
      Returns:
      business area
    • getAppointee

      public PersonDefinition getAppointee()
      The person to be appointed to the role.
      Returns:
      person
    • toString

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