Class ReplacementAttributeType
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.controls.ReplacementAttributeType
ReplacementAttributeType characterises one of the attribute values that should be provided when using a specific
template. A replacement attribute value is ued to update the principle entity of a template.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the data type name for the parameter value.Return the description of the replacement attribute.Return an example parameter value.getName()
Return the string to use as the name of the replacement attribute.Return a map of attribute name to attribute value to provide additional information for this service.boolean
Return whether this replacement attribute is required for this service to work successful.int
hashCode()
Return hash code for this objectvoid
setDataType
(String dataType) Set up data type name for the parameter value.void
setDescription
(String description) Set up the description of the replacement attribute.void
setExample
(String example) Set up an example parameter value.void
Set up the string to use as the name of the replacement attribute.void
setOtherPropertyValues
(Map<String, String> otherPropertyValues) Set up a map of attribute name to attribute value to provide additional information for this service.void
setRequired
(boolean required) Set up whether this replacement attribute is required for this service to work successful.toString()
JSON-style toString
-
Constructor Details
-
ReplacementAttributeType
public ReplacementAttributeType()Default constructor -
ReplacementAttributeType
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getName
Return the string to use as the name of the replacement attribute.- Returns:
- string name
-
setName
Set up the string to use as the name of the replacement attribute.- Parameters:
name
- string name
-
getDescription
Return the description of the replacement attribute.- Returns:
- string
-
setDescription
Set up the description of the replacement attribute.- Parameters:
description
- string
-
getDataType
Return the data type name for the parameter value.- Returns:
- data type
-
setDataType
Set up data type name for the parameter value.- Parameters:
dataType
- data type
-
getExample
Return an example parameter value.- Returns:
- string
-
setExample
Set up an example parameter value.- Parameters:
example
- string
-
getRequired
public boolean getRequired()Return whether this replacement attribute is required for this service to work successful.- Returns:
- boolean flag
-
setRequired
public void setRequired(boolean required) Set up whether this replacement attribute is required for this service to work successful.- Parameters:
required
- boolean flag
-
getOtherPropertyValues
Return a map of attribute name to attribute value to provide additional information for this service.- Returns:
- map of string to string
-
setOtherPropertyValues
Set up a map of attribute name to attribute value to provide additional information for this service.- 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
-