Class GovernanceMetricProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.GovernanceMetricProperties
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GovernanceDefinitionMetric
public class GovernanceMetricProperties extends ReferenceableProperties
GovernanceMetricProperties stores information about the way activity associated with a governance definition is to be measured.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GovernanceMetricProperties()Default constructorGovernanceMetricProperties(GovernanceMetricProperties 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.StringgetDescription()Return the description of this governance metric.StringgetDisplayName()Return the display name of this governance metric.intgetDomainIdentifier()Return the identifier of the governance domain that this metric is managed by.StringgetMeasurement()Return the description of the measurements needed to support this metric.StringgetTarget()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.voidsetTarget(String target)Set up the description of the targets that the organization is aiming to achieve.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName
-
-
-
-
Constructor Detail
-
GovernanceMetricProperties
public GovernanceMetricProperties()
Default constructor
-
GovernanceMetricProperties
public GovernanceMetricProperties(GovernanceMetricProperties template)
Copy/clone constructor.- Parameters:
template- element to copy
-
-
Method Detail
-
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
public String getDisplayName()
Return the display name of this governance metric.- Returns:
- String display name.
-
setDisplayName
public void setDisplayName(String displayName)
Set up the display name of this governance metric.- Parameters:
displayName- - string name
-
getDescription
public String getDescription()
Return the description of this governance metric.- Returns:
- String resource description
-
setDescription
public void setDescription(String description)
Set up the description of this governance metric.- Parameters:
description- text
-
getMeasurement
public String getMeasurement()
Return the description of the measurements needed to support this metric.- Returns:
- String measurement description
-
setMeasurement
public void setMeasurement(String measurement)
Set up the description of the measurements needed to support this metric.- Parameters:
measurement- String measurement description
-
getTarget
public String getTarget()
Return the description of the targets that the organization is aiming to achieve.- Returns:
- String target description.
-
setTarget
public void setTarget(String target)
Set up the description of the targets that the organization is aiming to achieve.- Parameters:
target- String target description
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classReferenceableProperties- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
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
-
-