Class ConfigurationPropertyType
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.controls.ConfigurationPropertyType
ConfigurationPropertyType characterises one of the configuration parameters supported by a specific connector.
This enables the capability of a connector to be correctly matched to the resources and
elements that it works with.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the data type name for the configuration property value.Return the description of the configuration property.Return an example configuration property value.getName()Return the string to use as the name of the configuration property.Return a map of property name to property value to provide additional information for this configuration property.booleanReturn whether this configuration property is required for this connector to work successful.inthashCode()Return hash code for this objectvoidsetDataType(String dataType) Set up data type name for the configuration property value.voidsetDescription(String description) Set up the description of the configuration property.voidsetExample(String example) Set up an example configuration property value.voidSet up the string to use as the name of the configuration property.voidsetOtherPropertyValues(Map<String, String> otherPropertyValues) Set up a map of property name to property value to provide additional information for this configuration property.voidsetRequired(boolean required) Set up whether this configuration property is required for this connector to work successful.toString()JSON-style toString
-
Constructor Details
-
ConfigurationPropertyType
public ConfigurationPropertyType()Default constructor -
ConfigurationPropertyType
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getName
Return the string to use as the name of the configuration property.- Returns:
- string name
-
setName
Set up the string to use as the name of the configuration property.- Parameters:
name- string name
-
getDescription
Return the description of the configuration property.- Returns:
- string
-
setDescription
Set up the description of the configuration property.- Parameters:
description- string
-
getDataType
Return the data type name for the configuration property value.- Returns:
- data type
-
setDataType
Set up data type name for the configuration property value.- Parameters:
dataType- data type
-
getExample
Return an example configuration property value.- Returns:
- string
-
setExample
Set up an example configuration property value.- Parameters:
example- string
-
getRequired
public boolean getRequired()Return whether this configuration property is required for this connector to work successful.- Returns:
- boolean flag
-
setRequired
public void setRequired(boolean required) Set up whether this configuration property is required for this connector to work successful.- Parameters:
required- boolean flag
-
getOtherPropertyValues
Return a map of property name to property value to provide additional information for this configuration property.- Returns:
- map of string to string
-
setOtherPropertyValues
Set up a map of property name to property value to provide additional information for this configuration property.- Parameters:
otherPropertyValues- map of string to string
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-