Class PlaceholderPropertyType
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.controls.PlaceholderPropertyType
PlaceholderPropertyType characterises one of the placeholder properties used in a template.
-
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 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.booleanReturn whether this placeholder property is required for this service to work successful.inthashCode()Return hash code for this objectvoidsetDataType(String dataType) Set up data type name for the placeholder property value.voidsetDescription(String description) Set up the description of the placeholder property.voidsetExample(String example) Set up an example placeholder property value.voidSet up the string to use as the name of the placeholder property.voidsetOtherPropertyValues(Map<String, String> otherPropertyValues) Set up a map of property name to property value to provide additional information for this service.voidsetRequired(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
-