Enum Class SustainabilityProjectDefinition

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

public enum SustainabilityProjectDefinition extends Enum<SustainabilityProjectDefinition>
The ProjectDefinition is used to feed the definition of the projects and teams for Coco Pharmaceuticals scenarios.
  • Enum Constant Details

    • SUS_GOV

      public static final SustainabilityProjectDefinition SUS_GOV
      Campaign coordinating the sustainability initiatives in Coco Pharmaceuticals.
    • SUS_BOOTSTRAP

      public static final SustainabilityProjectDefinition SUS_BOOTSTRAP
      Project to establish a sustainability focus and practices in Coco Pharmaceuticals.
  • Method Details

    • values

      public static SustainabilityProjectDefinition[] 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 SustainabilityProjectDefinition 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 qualified name for the project.
      Returns:
      string name
    • getDisplayName

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

      public String getDescription()
      Return the description for the project.
      Returns:
      text
    • isCampaign

      public boolean isCampaign()
      Is this project a campaign?
      Returns:
      boolean
    • isTask

      public boolean isTask()
      Is the project a task?
      Returns:
      boolean
    • getControllingProject

      public SustainabilityProjectDefinition getControllingProject()
      Which project provides direction?
      Returns:
      project
    • getLeader

      public List<PersonDefinition> getLeader()
      Who is the leader for this project?
      Returns:
      person
    • getMembers

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

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