Class GovernanceMetricProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.governance.GovernanceMetricProperties
GovernanceMetricProperties stores information about the way activity associated with a governance definition is to be measured.
-
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.Return the description of this governance metric.Return the display name of this governance metric.int
Return the identifier of the governance domain that this metric is managed by.Return the description of the measurements needed to support this metric.Return the description of the targets that the organization is aiming to achieve.int
hashCode()
Uses the guid to create a hashcode.void
setDescription
(String description) Set up the description of this governance metric.void
setDisplayName
(String displayName) Set up the display name of this governance metric.void
setDomainIdentifier
(int domainIdentifier) Set up the identifier of the governance domain that this metric is managed by.void
setMeasurement
(String measurement) Set up the description of the measurements needed to support this metric.void
Set up the description of the targets that the organization is aiming to achieve.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
GovernanceMetricProperties
public GovernanceMetricProperties()Default constructor -
GovernanceMetricProperties
Copy/clone constructor.- Parameters:
template
- element to copy
-
-
Method Details
-
getDomainIdentifier
public int getDomainIdentifier()Return the identifier of the governance domain that this metric is managed by.- Returns:
- int identifier
-
setDomainIdentifier
public void setDomainIdentifier(int domainIdentifier) Set up the identifier of the governance domain that this metric is managed by.- Parameters:
domainIdentifier
- int identifier
-
getDisplayName
Return the display name of this governance metric.- Returns:
- String display name.
-
setDisplayName
Set up the display name of this governance metric.- Parameters:
displayName
- - string name
-
getDescription
Return the description of this governance metric.- Returns:
- String resource description
-
setDescription
Set up the description of this governance metric.- Parameters:
description
- text
-
getMeasurement
Return the description of the measurements needed to support this metric.- Returns:
- String measurement description
-
setMeasurement
Set up the description of the measurements needed to support this metric.- Parameters:
measurement
- String measurement description
-
getTarget
Return the description of the targets that the organization is aiming to achieve.- Returns:
- String target description.
-
setTarget
Set up the description of the targets that the organization is aiming to achieve.- Parameters:
target
- String target description
-
toString
Standard toString method.- Overrides:
toString
in classReferenceableProperties
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classReferenceableProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Uses the guid to create a hashcode.- Overrides:
hashCode
in classReferenceableProperties
- Returns:
- int hash code
-