|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractMetadata
ModifiableMetadata
MetadataEntity
DefaultDataQuality
@ThreadSafe public class DefaultDataQuality
Quality information for the data specified by a data quality scope.
| metadata/geotk-metadata (download) | View source code for this class |
| Field Summary |
|---|
| Fields inherited from class MetadataEntity |
|---|
identifiers |
| Fields inherited from class AbstractMetadata |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
DefaultDataQuality()
Constructs an initially empty data quality. |
|
DefaultDataQuality(DataQuality source)
Constructs a metadata entity initialized with the values from the specified metadata. |
|
DefaultDataQuality(Scope scope)
Creates a data quality initialized to the given scope. |
|
| Method Summary | |
|---|---|
static DefaultDataQuality |
castOrCopy(DataQuality object)
Returns a Geotk metadata implementation with the same values than 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. |
| Methods inherited from class MetadataEntity |
|---|
getIdentifier, getIdentifierMap, getIdentifiers, getStandard |
| Methods inherited from class ModifiableMetadata |
|---|
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, prune, unmodifiable |
| Methods inherited from class AbstractMetadata |
|---|
asMap, asTree, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, parse, toString |
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultDataQuality()
public DefaultDataQuality(DataQuality source)
source - The metadata to copy, or null if none.public DefaultDataQuality(Scope scope)
scope - The specific data to which the data quality information applies.| Method Detail |
|---|
public static DefaultDataQuality castOrCopy(DataQuality object)
null, then this method returns null.
Otherwise if the given object is already a Geotk implementation, then the given object is
returned unchanged. Otherwise a new Geotk implementation is created and initialized to the
attribute values of the given object, using a shallow copy operation
(i.e. attributes are not cloned).
object - The object to get as a Geotk implementation, or null if none.
null if the argument was null.public Scope getScope()
getScope in interface DataQualitypublic void setScope(Scope newValue)
newValue - The new scope.public Collection<Element> getReports()
getReports in interface DataQualitypublic void setReports(Collection<? extends Element> newValues)
newValues - The new reports.public Lineage getLineage()
getLineage in interface DataQualitypublic void setLineage(Lineage newValue)
newValue - The new lineage.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||