Class GovernanceMetricImplementation
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceMetricElement
-
- org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceMetricImplementation
-
- All Implemented Interfaces:
Serializable,MetadataElement
public class GovernanceMetricImplementation extends GovernanceMetricElement
The GovernanceMetricImplementation defines the query and data set that supports the measurements for a GovernanceMetricProperties. The list of connections to the data set are also provided to enable the client to query the values in the data set.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GovernanceMetricImplementation()Default constructorGovernanceMetricImplementation(GovernanceMetricElement template)Copy/clone constructorGovernanceMetricImplementation(GovernanceMetricImplementation template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Test the properties of the GovernanceMetricImplementation to determine if the supplied object is equal to this one.List<ElementStub>getDataSetConnectionGUIDs()Return the list of connection identifiers associated with the data set.StringgetDataSetDisplayName()Return the display name for the data set.StringgetDataSetGUID()Return the unique identifier of the data set where the measurements are stored.StringgetDataSetQualifiedName()Return the unique name for the data set.StringgetDataSetType()Return the type name of the data set.StringgetImplementationDescription()Return the description of how the data set supports the governance metric.StringgetImplementationGUID()Return the unique identifier of the relationship that links the governance metric to the measurement data set.StringgetQuery()Return the query to use on the data set.inthashCode()Just use the GUID for the hash code as it should be unique.voidsetDataSetConnectionGUIDs(List<ElementStub> dataSetConnectionGUIDs)Set up the list of connection identifiers associated with the data set.voidsetDataSetDisplayName(String dataSetDisplayName)Set up the display name for the data set.voidsetDataSetGUID(String dataSetGUID)Set up the unique identifier of the data set where the measurements are stored.voidsetDataSetQualifiedName(String dataSetQualifiedName)Set up the unique name for the data set.voidsetDataSetType(String dataSetType)Set up the type name for the data set.voidsetImplementationDescription(String implementationDescription)Set up the description of how the data set supports the governance metric.voidsetImplementationGUID(String implementationGUID)Set up the unique identifier of the relationship that links the governance metric to the measurement data set.voidsetQuery(String query)Set up the query to use on the data set.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceMetricElement
getElementHeader, getProperties, setElementHeader, setProperties
-
-
-
-
Constructor Detail
-
GovernanceMetricImplementation
public GovernanceMetricImplementation()
Default constructor
-
GovernanceMetricImplementation
public GovernanceMetricImplementation(GovernanceMetricImplementation template)
Copy/clone constructor- Parameters:
template- object to copy
-
GovernanceMetricImplementation
public GovernanceMetricImplementation(GovernanceMetricElement template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getImplementationGUID
public String getImplementationGUID()
Return the unique identifier of the relationship that links the governance metric to the measurement data set.- Returns:
- string guid
-
setImplementationGUID
public void setImplementationGUID(String implementationGUID)
Set up the unique identifier of the relationship that links the governance metric to the measurement data set.- Parameters:
implementationGUID- string guid
-
getImplementationDescription
public String getImplementationDescription()
Return the description of how the data set supports the governance metric. This is stored in the GovernanceMeasurementsDataSet classification on the DataSet.- Returns:
- string description
-
setImplementationDescription
public void setImplementationDescription(String implementationDescription)
Set up the description of how the data set supports the governance metric. This is stored in the GovernanceMeasurementsDataSet classification on the DataSet.- Parameters:
implementationDescription- string description
-
getQuery
public String getQuery()
Return the query to use on the data set. If this is null then the contents of the data set should be used directly.- Returns:
- query string
-
setQuery
public void setQuery(String query)
Set up the query to use on the data set. If this is null then the contents of the data set should be used directly.- Parameters:
query- string
-
getDataSetGUID
public String getDataSetGUID()
Return the unique identifier of the data set where the measurements are stored.- Returns:
- string guid
-
setDataSetGUID
public void setDataSetGUID(String dataSetGUID)
Set up the unique identifier of the data set where the measurements are stored.- Parameters:
dataSetGUID- string guid
-
getDataSetType
public String getDataSetType()
Return the type name of the data set.- Returns:
- string name
-
setDataSetType
public void setDataSetType(String dataSetType)
Set up the type name for the data set.- Parameters:
dataSetType- string name
-
getDataSetQualifiedName
public String getDataSetQualifiedName()
Return the unique name for the data set.- Returns:
- string name
-
setDataSetQualifiedName
public void setDataSetQualifiedName(String dataSetQualifiedName)
Set up the unique name for the data set.- Parameters:
dataSetQualifiedName- string name
-
getDataSetDisplayName
public String getDataSetDisplayName()
Return the display name for the data set.- Returns:
- string name
-
setDataSetDisplayName
public void setDataSetDisplayName(String dataSetDisplayName)
Set up the display name for the data set.- Parameters:
dataSetDisplayName- string name
-
getDataSetConnectionGUIDs
public List<ElementStub> getDataSetConnectionGUIDs()
Return the list of connection identifiers associated with the data set. These identifiers can be used to retrieve the measurement values.- Returns:
- list of connection headers
-
setDataSetConnectionGUIDs
public void setDataSetConnectionGUIDs(List<ElementStub> dataSetConnectionGUIDs)
Set up the list of connection identifiers associated with the data set. These identifiers can be used to retrieve the measurement values.- Parameters:
dataSetConnectionGUIDs- list of connection headers
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classGovernanceMetricElement- Returns:
- string containing the properties and their values
-
equals
public boolean equals(Object objectToCompare)
Test the properties of the GovernanceMetricImplementation to determine if the supplied object is equal to this one.- Overrides:
equalsin classGovernanceMetricElement- Parameters:
objectToCompare- object- Returns:
- boolean evaluation
-
hashCode
public int hashCode()
Just use the GUID for the hash code as it should be unique.- Overrides:
hashCodein classGovernanceMetricElement- Returns:
- int code
-
-