Class CatalogTemplateProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipBeanProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.templates.CatalogTemplateProperties
CatalogTemplateProperties describes the properties for the CatalogTemplate relationship between a
description element and a relevant template.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the reasons why the elements are related.getLabel()
Return the label.int
hashCode()
Return hash code based on properties.void
setDescription
(String description) Set up the reasons why the elements are related.void
Set up the label.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipBeanProperties
getExtendedProperties, getTypeName, setExtendedProperties, setTypeName
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, setEffectiveFrom, setEffectiveTo
-
Constructor Details
-
CatalogTemplateProperties
public CatalogTemplateProperties()Default constructor -
CatalogTemplateProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getLabel
Return the label.- Returns:
- string
-
setLabel
Set up the label.- Parameters:
label
- string
-
getDescription
Return the reasons why the elements are related.- Returns:
- description
-
setDescription
Set up the reasons why the elements are related.- Parameters:
description
- description
-
toString
JSON-style toString.- Overrides:
toString
in classRelationshipBeanProperties
- Returns:
- list of properties and their values.
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classRelationshipBeanProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classRelationshipBeanProperties
- Returns:
- int
-