Class 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 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
      • equals

        public boolean equals​(Object objectToCompare)
        Test the properties of the GovernanceMetricImplementation to determine if the supplied object is equal to this one.
        Overrides:
        equals in class GovernanceMetricElement
        Parameters:
        objectToCompare - object
        Returns:
        boolean evaluation
      • hashCode

        public int hashCode()
        Just use the GUID for the hash code as it should be unique.
        Overrides:
        hashCode in class GovernanceMetricElement
        Returns:
        int code