org.geotools.metadata.iso.identification
Class ResolutionImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by ResolutionImpl
All Implemented Interfaces:
Serializable, Cloneable, Resolution

public class ResolutionImpl
extends MetadataEntity
implements Resolution

Level of detail expressed as a scale factor or a ground distance.

Since:
2.1
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form
Module:
modules/library/metadata (gt-metadata.jar)

Field Summary
 
Fields inherited from class AbstractMetadata
LOGGER
 
Constructor Summary
ResolutionImpl()
          Constructs an initially empty Resolution.
ResolutionImpl(Resolution source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 Double getDistance()
          Ground sample distance.
 RepresentativeFraction getEquivalentScale()
          Level of detail expressed as the scale of a comparable hardcopy map or chart.
 void setDistance(Double newValue)
          Set the ground sample distance.
 void setEquivalentScale(RepresentativeFraction newValue)
          Set the level of detail expressed as the scale of a comparable hardcopy map or chart.
 
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
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResolutionImpl

public ResolutionImpl()
Constructs an initially empty Resolution.


ResolutionImpl

public ResolutionImpl(Resolution source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4
Method Detail

getEquivalentScale

public RepresentativeFraction getEquivalentScale()
Level of detail expressed as the scale of a comparable hardcopy map or chart. Only one of equivalent scale and ground sample distance may be provided.

Specified by:
getEquivalentScale in interface Resolution

setEquivalentScale

public void setEquivalentScale(RepresentativeFraction newValue)
Set the level of detail expressed as the scale of a comparable hardcopy map or chart.

Since:
2.4

getDistance

public Double getDistance()
Ground sample distance. Only one of equivalent scale and ground sample distance may be provided.

Specified by:
getDistance in interface Resolution

setDistance

public void setDistance(Double newValue)
Set the ground sample distance.



Copyright © 1996-2010 Geotools. All Rights Reserved.