public class DefaultDataQuality extends ISOMetadata implements DataQuality
Defined in the sis-metadata
module
identifiers, LOGGER
Constructor and Description |
---|
DefaultDataQuality()
Constructs an initially empty data quality.
|
DefaultDataQuality(DataQuality object)
Constructs a new instance initialized with the values from the specified metadata object.
|
DefaultDataQuality(Scope scope)
Creates a data quality initialized to the given scope.
|
Modifier and Type | Method and Description |
---|---|
static DefaultDataQuality |
castOrCopy(DataQuality object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Lineage |
getLineage()
Returns non-quantitative quality information about the lineage of the data specified by the scope.
|
Collection<Element> |
getReports()
Returns the quantitative quality information for the data specified by the scope.
|
Scope |
getScope()
Returns the specific data to which the data quality information applies.
|
void |
setLineage(Lineage newValue)
Sets the non-quantitative quality information about the lineage of the data specified by the scope.
|
void |
setReports(Collection<? extends Element> newValues)
Sets the quantitative quality information for the data specified by the scope.
|
void |
setScope(Scope newValue)
Sets the specific data to which the data quality information applies.
|
getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public DefaultDataQuality()
public DefaultDataQuality(Scope scope)
scope
- The specific data to which the data quality information applies, or null
.public DefaultDataQuality(DataQuality object)
object
- The metadata to copy values from, or null
if none.castOrCopy(DataQuality)
public static DefaultDataQuality castOrCopy(DataQuality object)
null
, then this method returns null
.DefaultDataQuality
, then it is returned unchanged.DefaultDataQuality
instance is created using the
copy constructor
and returned. Note that this is a shallow copy operation, since the other
metadata contained in the given object are not recursively copied.object
- The object to get as a SIS implementation, or null
if none.null
if the argument was null.public Scope getScope()
getScope
in interface DataQuality
null
.public void setScope(Scope newValue)
newValue
- The new scope.public Collection<Element> getReports()
getReports
in interface DataQuality
public void setReports(Collection<? extends Element> newValues)
newValues
- The new reports.public Lineage getLineage()
getLineage
in interface DataQuality
null
.public void setLineage(Lineage newValue)
newValue
- The new lineage.Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.