Class DataQualityImpl
- Object
-
- AbstractMetadata
-
- ModifiableMetadata
-
- MetadataEntity
-
- 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
-
-
Field Summary
-
Fields inherited from class AbstractMetadata
LOGGER
-
-
Constructor Summary
Constructors Constructor Description DataQualityImpl()
Constructs an initially empty data quality.DataQualityImpl(DataQuality source)
Constructs a metadata entity initialized with the values from the specified metadata.DataQualityImpl(Scope scope)
Creates a data quality initialized to the given scope.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Lineage
getLineage()
Non-quantitative quality information about the lineage of the data specified by the scope.Collection<Element>
getReports()
Quantitative quality information for the data specified by the scope.Scope
getScope()
The specific data to which the data quality information applies.void
setLineage(Lineage newValue)
Set the non-quantitative quality information about the lineage of the data specified by the scope.void
setReports(Collection<? extends Element> newValues)
Set the quantitative quality information for the data specified by the scope.void
setScope(Scope newValue)
Set the specific data to which the data quality information applies.-
Methods inherited from class MetadataEntity
ensureNonNull, getStandard
-
Methods inherited from class ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
-
Methods inherited from class AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
-
-
-
-
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 interfaceDataQuality
- 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 interfaceDataQuality
- 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 interfaceDataQuality
- 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.
-
-