Enum Class PostgreSQLTemplateType
java.lang.Object
java.lang.Enum<PostgreSQLTemplateType>
org.odpi.openmetadata.adapters.connectors.postgres.controls.PostgreSQLTemplateType
- All Implemented Interfaces:
Serializable,Comparable<PostgreSQLTemplateType>,Constable,org.odpi.openmetadata.frameworks.openmetadata.controls.TemplateDefinition
public enum PostgreSQLTemplateType
extends Enum<PostgreSQLTemplateType>
implements org.odpi.openmetadata.frameworks.openmetadata.controls.TemplateDefinition
TemplateTypeEnum characterises the type of templates supported by an integration connector. It should be copied
by developers of an integration connector to help populate the supportedTemplates property of its provider.
-
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 TypeMethodDescriptionorg.odpi.openmetadata.frameworks.openmetadata.refdata.DeployedImplementationTypeDefinitionReturn the supported deployed implementation for this template.Return the value to use in the element that describes its version.Return a map of property name to property value that the catalog template should have to be valid for this integration connector.List<org.odpi.openmetadata.frameworks.openmetadata.controls.PlaceholderPropertyType>Return the list of placeholders supported by this template.List<org.odpi.openmetadata.frameworks.openmetadata.controls.ReplacementAttributeType>Return the list of attributes that should be supplied by the caller using this template.booleanReturn whether this catalog template is required for this service to work successful.Return the description of the template, such as its content.Return the unique identifier of the template.Return the name of the template.org.odpi.openmetadata.frameworks.connectors.controls.TemplateTypeReturn the catalog template type for a specific catalog template enum.static List<org.odpi.openmetadata.frameworks.connectors.controls.TemplateType>Return all the template types defined by this enum.Return the version identifier for the template classification.Return the open metadata type name.toString()JSON-style toStringstatic PostgreSQLTemplateTypeReturns the enum constant of this class with the specified name.static PostgreSQLTemplateType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
POSTGRES_SERVER_TEMPLATE
-
POSTGRES_DATABASE_TEMPLATE
-
POSTGRES_SCHEMA_TEMPLATE
-
-
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
-
getTemplateGUID
Return the unique identifier of the template.- Specified by:
getTemplateGUIDin interfaceorg.odpi.openmetadata.frameworks.openmetadata.controls.TemplateDefinition- Returns:
- name
-
getTemplateName
Return the name of the template.- Specified by:
getTemplateNamein interfaceorg.odpi.openmetadata.frameworks.openmetadata.controls.TemplateDefinition- Returns:
- name
-
getTemplateDescription
Return the description of the template, such as its content.- Specified by:
getTemplateDescriptionin interfaceorg.odpi.openmetadata.frameworks.openmetadata.controls.TemplateDefinition- Returns:
- description
-
getTemplateVersionIdentifier
Return the version identifier for the template classification.- Specified by:
getTemplateVersionIdentifierin interfaceorg.odpi.openmetadata.frameworks.openmetadata.controls.TemplateDefinition- Returns:
- string
-
getDeployedImplementationType
public org.odpi.openmetadata.frameworks.openmetadata.refdata.DeployedImplementationTypeDefinition getDeployedImplementationType()Return the supported deployed implementation for this template.- Specified by:
getDeployedImplementationTypein interfaceorg.odpi.openmetadata.frameworks.openmetadata.controls.TemplateDefinition- Returns:
- enum
-
getElementVersionIdentifier
Return the value to use in the element that describes its version.- Specified by:
getElementVersionIdentifierin interfaceorg.odpi.openmetadata.frameworks.openmetadata.controls.TemplateDefinition- Returns:
- version identifier placeholder
-
getPlaceholders
public List<org.odpi.openmetadata.frameworks.openmetadata.controls.PlaceholderPropertyType> getPlaceholders()Return the list of placeholders supported by this template.- Specified by:
getPlaceholdersin interfaceorg.odpi.openmetadata.frameworks.openmetadata.controls.TemplateDefinition- Returns:
- list of placeholder types
-
getReplacementAttributes
public List<org.odpi.openmetadata.frameworks.openmetadata.controls.ReplacementAttributeType> getReplacementAttributes()Return the list of attributes that should be supplied by the caller using this template.- Specified by:
getReplacementAttributesin interfaceorg.odpi.openmetadata.frameworks.openmetadata.controls.TemplateDefinition- Returns:
- list of replacement attributes
-
getTypeName
Return the open metadata type name.- Returns:
- open metadata type name
-
getRequired
public boolean getRequired()Return whether this catalog template is required for this service to work successful.- Returns:
- boolean flag
-
getOtherPropertyValues
Return a map of property name to property value that the catalog template should have to be valid for this integration connector.- Returns:
- map of string to string
-
getTemplateTypes
public static List<org.odpi.openmetadata.frameworks.connectors.controls.TemplateType> getTemplateTypes()Return all the template types defined by this enum.- Returns:
- list of catalog template type
-
getTemplateType
public org.odpi.openmetadata.frameworks.connectors.controls.TemplateType getTemplateType()Return the catalog template type for a specific catalog template enum.- Returns:
- catalog template type
-
toString
JSON-style toString- Overrides:
toStringin classEnum<PostgreSQLTemplateType>- Returns:
- return string containing the property names and values
-