Class SpecificationProperty
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.specificationproperties.SpecificationProperty
- Direct Known Subclasses:
ActionTargetType,AnalysisStepType,AnnotationTypeType,ConfigurationPropertyType,GuardType,PlaceholderPropertyType,ReplacementAttributeType,RequestParameterType,RequestTypeType,TemplateType
SpecificationProperty characterises one of the specification properties used to explain to a caller
how to use a template, or a connector. The type of specification properties linked to an element
depends on its type.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorSpecificationProperty(SpecificationProperty template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the description of the specification property.getName()Return the string to use as the specification property.Return a map of property name to property value to provide additional information for this service.inthashCode()Return hash code for this objectvoidsetDescription(String description) Set up the description of the specification property.voidSet up the string to use as the specification property.voidsetOtherPropertyValues(Map<String, String> otherPropertyValues) Set up a map of property name to property value to provide additional information for this service.toString()JSON-style toString
-
Constructor Details
-
SpecificationProperty
public SpecificationProperty()Default constructor -
SpecificationProperty
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getName
Return the string to use as the specification property.- Returns:
- string name
-
setName
Set up the string to use as the specification property.- Parameters:
name- string name
-
getDescription
Return the description of the specification property.- Returns:
- string
-
setDescription
Set up the description of the specification property.- Parameters:
description- string
-
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
-