Enum Class PostgresSolutionComponentActor
java.lang.Object
java.lang.Enum<PostgresSolutionComponentActor>
org.odpi.openmetadata.adapters.connectors.postgres.solution.PostgresSolutionComponentActor
- All Implemented Interfaces:
Serializable
,Comparable<PostgresSolutionComponentActor>
,Constable
,SolutionComponentActorDefinition
public enum PostgresSolutionComponentActor
extends Enum<PostgresSolutionComponentActor>
implements SolutionComponentActorDefinition
Define the relationship between the solution roles and the solution components
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionReturn the role relationship description.getRole()
Return the role relationship label.Return the solution component to link to.Return the solution role to link to.toString()
Output of this enum class and main value.Returns the enum constant of this class with the specified name.static PostgresSolutionComponentActor[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
USER_TO_SERVER_SURVEY
-
USER_TO_DATABASE_SURVEY
-
USER_TO_CATALOG_SERVER
-
USER_TO_CATALOG_DATABASE
-
-
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
-
getSolutionRole
Return the solution role to link to.- Specified by:
getSolutionRole
in interfaceSolutionComponentActorDefinition
- Returns:
- role definition
-
getSolutionComponent
Return the solution component to link to.- Specified by:
getSolutionComponent
in interfaceSolutionComponentActorDefinition
- Returns:
- component definition
-
getRole
Return the role relationship label.- Specified by:
getRole
in interfaceSolutionComponentActorDefinition
- Returns:
- string
-
getDescription
Return the role relationship description.- Specified by:
getDescription
in interfaceSolutionComponentActorDefinition
- Returns:
- string
-
toString
Output of this enum class and main value.- Overrides:
toString
in classEnum<PostgresSolutionComponentActor>
- Returns:
- string showing enum value
-