Class GovernanceResultsProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.governance.GovernanceResultsProperties
GovernanceResultsProperties defines the properties that link a metric to a data set that contains the measurements.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.getQuery()
Return the query that explains how the results are extracted from the data set.int
hashCode()
Return hash code based on properties.void
Set up the query that explains how the results are extracted from the data set.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
GovernanceResultsProperties
public GovernanceResultsProperties()Default constructor -
GovernanceResultsProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getQuery
Return the query that explains how the results are extracted from the data set.- Returns:
- string description
-
setQuery
Set up the query that explains how the results are extracted from the data set.- Parameters:
query
- string description
-
toString
JSON-style toString- Overrides:
toString
in classRelationshipProperties
- Returns:
- string containing the properties and their values
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classRelationshipProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classRelationshipProperties
- Returns:
- int
-