Enum Class PostgresPlaceholderProperty
java.lang.Object
java.lang.Enum<PostgresPlaceholderProperty>
org.odpi.openmetadata.adapters.connectors.postgres.controls.PostgresPlaceholderProperty
- All Implemented Interfaces:
Serializable
,Comparable<PostgresPlaceholderProperty>
,Constable
PlaceholderProperty provides some standard definitions for placeholder properties used to pass properties
to services that use templates.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe name of the database being catalogued.The name of the database being catalogued.The password to store in the clearPassword attribute of the connection.The userId to store in the userId attribute of the connection.The description of the schema being catalogued.The name of the schema being catalogued.The name of the database table being catalogued. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the data type for the placeholder property.Return the description of the placeholder property.Return an example of the placeholder property to help users understand how to set it up.static List<PlaceholderPropertyType>
Retrieve all the defined placeholder propertiesgetName()
Return the name of the placeholder property.Return the placeholder to use when building templates.Return a summary of this enum to use in a service provider.static List<PlaceholderPropertyType>
Retrieve all the defined placeholder propertiesstatic List<PlaceholderPropertyType>
Retrieve all the defined placeholder propertiesstatic List<PlaceholderPropertyType>
Retrieve all the defined placeholder propertiestoString()
Output of this enum class and main value.static PostgresPlaceholderProperty
Returns the enum constant of this class with the specified name.static PostgresPlaceholderProperty[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DATABASE_NAME
The name of the database being catalogued. -
DATABASE_DESCRIPTION
The name of the database being catalogued. -
DATABASE_USER_ID
The userId to store in the userId attribute of the connection. -
DATABASE_PASSWORD
The password to store in the clearPassword attribute of the connection. -
SCHEMA_NAME
The name of the schema being catalogued. -
SCHEMA_DESCRIPTION
The description of the schema being catalogued. -
TABLE_NAME
The name of the database table being catalogued.
-
-
Field Details
-
name
-
description
-
dataType
-
example
-
-
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
-
getName
Return the name of the placeholder property.- Returns:
- string name
-
getPlaceholder
Return the placeholder to use when building templates.- Returns:
- placeholder property
-
getDescription
Return the description of the placeholder property.- Returns:
- text
-
getDataType
Return the data type for the placeholder property.- Returns:
- data type name
-
getExample
Return an example of the placeholder property to help users understand how to set it up.- Returns:
- example
-
getPostgresServerPlaceholderPropertyTypes
Retrieve all the defined placeholder properties- Returns:
- list of placeholder property types
-
getJDBCEndpointPlaceholderPropertyTypes
Retrieve all the defined placeholder properties- Returns:
- list of placeholder property types
-
getPostgresDatabasePlaceholderPropertyTypes
Retrieve all the defined placeholder properties- Returns:
- list of placeholder property types
-
getPostgresSchemaPlaceholderPropertyTypes
Retrieve all the defined placeholder properties- Returns:
- list of placeholder property types
-
getPlaceholderType
Return a summary of this enum to use in a service provider.- Returns:
- placeholder property type
-
toString
Output of this enum class and main value.- Overrides:
toString
in classEnum<PostgresPlaceholderProperty>
- Returns:
- string showing enum value
-