org.geotools.metadata.iso.identification
Class ResolutionImpl

java.lang.Object
  extended by org.geotools.metadata.AbstractMetadata
      extended by org.geotools.metadata.ModifiableMetadata
          extended by org.geotools.metadata.iso.MetadataEntity
              extended by org.geotools.metadata.iso.identification.ResolutionImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.identification.Resolution

public class ResolutionImpl
extends MetadataEntity
implements org.opengis.metadata.identification.Resolution

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

Since:
2.1
Version:
$Id: ResolutionImpl.java 31557 2008-09-19 20:02:35Z desruisseaux $
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.AbstractMetadata
LOGGER
 
Constructor Summary
ResolutionImpl()
          Constructs an initially empty Resolution.
ResolutionImpl(org.opengis.metadata.identification.Resolution source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 java.lang.Double getDistance()
          Ground sample distance.
 org.opengis.metadata.identification.RepresentativeFraction getEquivalentScale()
          Level of detail expressed as the scale of a comparable hardcopy map or chart.
 void setDistance(java.lang.Double newValue)
          Set the ground sample distance.
 void setEquivalentScale(org.opengis.metadata.identification.RepresentativeFraction newValue)
          Set the level of detail expressed as the scale of a comparable hardcopy map or chart.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class org.geotools.metadata.ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class org.geotools.metadata.AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResolutionImpl

public ResolutionImpl()
Constructs an initially empty Resolution.


ResolutionImpl

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

Since:
2.4
Method Detail

getEquivalentScale

public org.opengis.metadata.identification.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 org.opengis.metadata.identification.Resolution

setEquivalentScale

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

Since:
2.4

getDistance

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

Specified by:
getDistance in interface org.opengis.metadata.identification.Resolution

setDistance

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



Copyright © 1996-2010 Geotools. All Rights Reserved.