Class GovernanceResultsProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.RelationshipProperties
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.GovernanceResultsProperties
-
- All Implemented Interfaces:
Serializable
public class GovernanceResultsProperties extends RelationshipProperties
GovernanceResultsProperties defines the properties that link a metric to a data set that contains the measurements.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GovernanceResultsProperties()Default constructorGovernanceResultsProperties(GovernanceResultsProperties template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetQuery()Return the query that explains how the results are extracted from the data set.inthashCode()Return has code based on properties.voidsetQuery(String query)Set up the query that explains how the results are extracted from the data set.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
-
-
-
Constructor Detail
-
GovernanceResultsProperties
public GovernanceResultsProperties()
Default constructor
-
GovernanceResultsProperties
public GovernanceResultsProperties(GovernanceResultsProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getQuery
public String getQuery()
Return the query that explains how the results are extracted from the data set.- Returns:
- string description
-
setQuery
public void setQuery(String query)
Set up the query that explains how the results are extracted from the data set.- Parameters:
query- string description
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classRelationshipProperties- Returns:
- string containing the properties and their values
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classRelationshipProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return has code based on properties.- Overrides:
hashCodein classRelationshipProperties- Returns:
- int
-
-