Enum Class SustainabilityProjectDefinition
java.lang.Object
java.lang.Enum<SustainabilityProjectDefinition>
org.odpi.openmetadata.samples.archiveutilities.sustainability.SustainabilityProjectDefinition
- All Implemented Interfaces:
Serializable
,Comparable<SustainabilityProjectDefinition>
,Constable
The ProjectDefinition is used to feed the definition of the projects and teams for Coco Pharmaceuticals scenarios.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionProject to establish a sustainability focus and practices in Coco Pharmaceuticals.Campaign coordinating the sustainability initiatives in Coco Pharmaceuticals. -
Method Summary
Modifier and TypeMethodDescriptionWhich project provides direction?Return the description for the project.Return the display name for the project.Who is the leader for this project?Return the team members.Return the qualified name for the project.boolean
Is this project a campaign?boolean
isTask()
Is the project a task?toString()
Output of this enum class and main value.Returns the enum constant of this class with the specified name.static SustainabilityProjectDefinition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUS_GOV
Campaign coordinating the sustainability initiatives in Coco Pharmaceuticals. -
SUS_BOOTSTRAP
Project to establish a sustainability focus and practices in Coco Pharmaceuticals.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getQualifiedName
Return the qualified name for the project.- Returns:
- string name
-
getDisplayName
Return the display name for the project.- Returns:
- string name
-
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
Which project provides direction?- Returns:
- project
-
getLeader
Who is the leader for this project?- Returns:
- person
-
getMembers
Return the team members.- Returns:
- list of people
-
toString
Output of this enum class and main value.- Overrides:
toString
in classEnum<SustainabilityProjectDefinition>
- Returns:
- string showing enum value
-