Class PlaceholderPropertyType
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.controls.PlaceholderPropertyType
PlaceholderPropertyType characterises one of the placeholder properties used in 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 placeholder property value.Return the description of the placeholder property.Return an example placeholder property value.getName()
Return the string to use as the name of the placeholder property.Return a map of property name to property value to provide additional information for this service.boolean
Return whether this placeholder property 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 placeholder property value.void
setDescription
(String description) Set up the description of the placeholder property.void
setExample
(String example) Set up an example placeholder property value.void
Set up the string to use as the name of the placeholder property.void
setOtherPropertyValues
(Map<String, String> otherPropertyValues) Set up a map of property name to property value to provide additional information for this service.void
setRequired
(boolean required) Set up whether this placeholder property is required for this service to work successful.toString()
JSON-style toString
-
Constructor Details
-
PlaceholderPropertyType
public PlaceholderPropertyType()Default constructor -
PlaceholderPropertyType
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getName
Return the string to use as the name of the placeholder property.- Returns:
- string name
-
setName
Set up the string to use as the name of the placeholder property.- Parameters:
name
- string name
-
getDescription
Return the description of the placeholder property.- Returns:
- string
-
setDescription
Set up the description of the placeholder property.- Parameters:
description
- string
-
getDataType
Return the data type name for the placeholder property value.- Returns:
- data type
-
setDataType
Set up data type name for the placeholder property value.- Parameters:
dataType
- data type
-
getExample
Return an example placeholder property value.- Returns:
- string
-
setExample
Set up an example placeholder property value.- Parameters:
example
- string
-
getRequired
public boolean getRequired()Return whether this placeholder property is required for this service to work successful.- Returns:
- boolean flag
-
setRequired
public void setRequired(boolean required) Set up whether this placeholder property is required for this service to work successful.- Parameters:
required
- boolean flag
-
getOtherPropertyValues
Return a map of property name to property value to provide additional information for this service.- Returns:
- map of string to string
-
setOtherPropertyValues
Set up a map of property name to property 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
-