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

public enum DeptDefinition extends Enum<DeptDefinition>
The DeptDefinition is used to feed the definition of the organization's departments for Coco Pharmaceuticals scenarios.
  • Enum Constant Details

  • Method Details

    • values

      public static DeptDefinition[] 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 DeptDefinition 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
    • getQualifiedName

      public String getQualifiedName()
      Return the unique identifier.
      Returns:
      string identifier
    • getTeamId

      public String getTeamId()
      Return the department code or teamId
      Returns:
      string code
    • getDisplayName

      public String getDisplayName()
      Return the display name
      Returns:
      string name
    • getDescription

      public String getDescription()
      Return this department's description.
      Returns:
      text
    • getSuperTeam

      public DeptDefinition getSuperTeam()
      Return details of the department that this department reports to.
      Returns:
      department
    • getLeaders

      public List<PersonDefinition> getLeaders()
      Return the leaders for the department.
      Returns:
      list of people
    • getMembers

      public List<PersonDefinition> getMembers()
      Return the department members.
      Returns:
      list of people
    • getAdditionalMembers

      public int getAdditionalMembers()
      Return the number of additional anonymous members to generate.
      Returns:
      int
    • getWorkLocation

      public WorkLocationDefinition getWorkLocation()
      Return the work location.
      Returns:
      work location
    • getBusinessArea

      public BusinessAreaDefinition getBusinessArea()
      Return the business area.
      Returns:
      business area
    • getBusinessAreaScope

      public ScopeDefinition getBusinessAreaScope()
      Return business area scope.
      Returns:
      scope
    • toString

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