org.geotoolkit.metadata.iso.quality
Class DefaultCoverageResult

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by AbstractResult
                  extended by DefaultCoverageResult
All Implemented Interfaces:
Serializable, Cloneable, LenientComparable, IdentifiedObject, CoverageResult, Result

@ThreadSafe
public class DefaultCoverageResult
extends AbstractResult
implements CoverageResult

Result of a data quality measure organising the measured values as a coverage.

Since:
3.03
Version:
3.19
Author:
Cédric Briançon (Geomatys), Martin Desruisseaux (Geomatys)
See Also:
Serialized Form
Module:
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
DefaultCoverageResult()
          Constructs an initially empty coverage result.
DefaultCoverageResult(CoverageResult source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
static DefaultCoverageResult castOrCopy(CoverageResult object)
          Returns a Geotk metadata implementation with the same values than the given arbitrary implementation.
 CoverageDescription getResultContentDescription()
          Returns the description of the content of the result coverage, i.e. semantic definition of the data quality measures.
 DataFile getResultFile()
          Returns the information about the data file containing the result coverage data.
 Format getResultFormat()
          Returns the information about the format of the result coverage data.
 SpatialRepresentation getResultSpatialRepresentation()
          Returns the digital representation of data quality measures composing the coverage result.
 SpatialRepresentationType getSpatialRepresentationType()
          Returns the method used to spatially represent the coverage result.
 void setResultContentDescription(CoverageDescription newValue)
          Sets the description of the content of the result coverage, i.e. semantic definition of the data quality measures.
 void setResultFile(DataFile newValue)
          Sets the information about the data file containing the result coverage data.
 void setResultFormat(Format newValue)
          Sets the information about the format of the result coverage data.
 void setResultSpatialRepresentation(SpatialRepresentation newValue)
          Sets the digital representation of data quality measures composing the coverage result.
 void setSpatialRepresentationType(SpatialRepresentationType newValue)
          Sets the method used to spatially represent the coverage result.
 
Methods inherited from class AbstractResult
castOrCopy
 
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

DefaultCoverageResult

public DefaultCoverageResult()
Constructs an initially empty coverage result.


DefaultCoverageResult

public DefaultCoverageResult(CoverageResult source)
Constructs a metadata entity initialized with the values from the specified metadata.

Parameters:
source - The metadata to copy, or null if none.
Method Detail

castOrCopy

public static DefaultCoverageResult castOrCopy(CoverageResult object)
Returns a Geotk metadata implementation with the same values than the given arbitrary implementation. If the given object is 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).

Parameters:
object - The object to get as a Geotk implementation, or null if none.
Returns:
A Geotk implementation containing the values of the given object (may be the given object itself), or null if the argument was null.
Since:
3.18

getSpatialRepresentationType

public SpatialRepresentationType getSpatialRepresentationType()
Returns the method used to spatially represent the coverage result.

Specified by:
getSpatialRepresentationType in interface CoverageResult

setSpatialRepresentationType

public void setSpatialRepresentationType(SpatialRepresentationType newValue)
Sets the method used to spatially represent the coverage result.

Parameters:
newValue - The new spatial representation type value.

getResultSpatialRepresentation

public SpatialRepresentation getResultSpatialRepresentation()
Returns the digital representation of data quality measures composing the coverage result.

Specified by:
getResultSpatialRepresentation in interface CoverageResult

setResultSpatialRepresentation

public void setResultSpatialRepresentation(SpatialRepresentation newValue)
Sets the digital representation of data quality measures composing the coverage result.

Parameters:
newValue - The new spatial representation value.

getResultContentDescription

public CoverageDescription getResultContentDescription()
Returns the description of the content of the result coverage, i.e. semantic definition of the data quality measures.

Specified by:
getResultContentDescription in interface CoverageResult

setResultContentDescription

public void setResultContentDescription(CoverageDescription newValue)
Sets the description of the content of the result coverage, i.e. semantic definition of the data quality measures.

Parameters:
newValue - The new content description value.

getResultFormat

public Format getResultFormat()
Returns the information about the format of the result coverage data.

Specified by:
getResultFormat in interface CoverageResult

setResultFormat

public void setResultFormat(Format newValue)
Sets the information about the format of the result coverage data.

Parameters:
newValue - The new result format value.

getResultFile

public DataFile getResultFile()
Returns the information about the data file containing the result coverage data.

Specified by:
getResultFile in interface CoverageResult

setResultFile

public void setResultFile(DataFile newValue)
Sets the information about the data file containing the result coverage data.

Parameters:
newValue - The new result file value.


Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.