Enum Class ProductRoleDefinition

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

public enum ProductRoleDefinition extends Enum<ProductRoleDefinition>
The ProductRoleDefinition is used to feed the definition of the actor roles for Coco Pharmaceuticals' product catalog.
  • Enum Constant Details

  • Method Details

    • values

      public static ProductRoleDefinition[] 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 ProductRoleDefinition 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
    • getGUID

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

      public String getTypeName()
      Return the type name
      Returns:
      string
    • 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
    • toString

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