Class DataQualityImpl

  • All Implemented Interfaces:
    Serializable, Cloneable, DataQuality

    public class DataQualityImpl
    extends MetadataEntity
    implements DataQuality
    Quality information for the data specified by a data quality scope.
    Since:
    2.1
    Author:
    Martin Desruisseaux (IRD), Touraïvane
    See Also:
    Serialized Form
    • Constructor Detail

      • DataQualityImpl

        public DataQualityImpl()
        Constructs an initially empty data quality.
      • DataQualityImpl

        public DataQualityImpl​(DataQuality source)
        Constructs a metadata entity initialized with the values from the specified metadata.
        Since:
        2.4
      • DataQualityImpl

        public DataQualityImpl​(Scope scope)
        Creates a data quality initialized to the given scope.
    • Method Detail

      • getScope

        public Scope getScope()
        The specific data to which the data quality information applies.
        Specified by:
        getScope in interface DataQuality
        Returns:
        The specific data to which the data quality information applies.
      • setScope

        public void setScope​(Scope newValue)
        Set the specific data to which the data quality information applies.
      • getReports

        public Collection<Element> getReports()
        Quantitative quality information for the data specified by the scope. Should be provided only if scope level is dataset.
        Specified by:
        getReports in interface DataQuality
        Returns:
        Quantitative quality information for the data.
      • setReports

        public void setReports​(Collection<? extends Element> newValues)
        Set the quantitative quality information for the data specified by the scope. Should be provided only if scope level is dataset.
      • getLineage

        public Lineage getLineage()
        Non-quantitative quality information about the lineage of the data specified by the scope. Should be provided only if scope level is dataset.
        Specified by:
        getLineage in interface DataQuality
        Returns:
        Non-quantitative quality information about the lineage of the data specified, or null.
      • setLineage

        public void setLineage​(Lineage newValue)
        Set the non-quantitative quality information about the lineage of the data specified by the scope. Should be provided only if scope level is dataset.