Class GovernanceMetricProperties
java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.governanceprogram.properties.GovernanceMetricProperties
- All Implemented Interfaces:
Serializable
GovernanceMetricProperties stores information about the way activity associated with a governance definition is to be measured.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare 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.intReturn 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.inthashCode()Uses the guid to create a hashcode.voidsetDescription(String description) Set up the description of this governance metric.voidsetDisplayName(String displayName) Set up the display name of this governance metric.voidsetDomainIdentifier(int domainIdentifier) Set up the identifier of the governance domain that this metric is managed by.voidsetMeasurement(String measurement) Set up the description of the measurements needed to support this metric.voidSet up the description of the targets that the organization is aiming to achieve.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, 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:
toStringin 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:
equalsin classReferenceableProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Uses the guid to create a hashcode.- Overrides:
hashCodein classReferenceableProperties- Returns:
- int hash code
-