org.geotools.metadata.iso.quality
Class ScopeImpl

java.lang.Object
  extended byorg.geotools.metadata.iso.MetadataEntity
      extended byorg.geotools.metadata.iso.quality.ScopeImpl
All Implemented Interfaces:
java.lang.Cloneable, org.opengis.metadata.quality.Scope, java.io.Serializable

public class ScopeImpl
extends MetadataEntity
implements org.opengis.metadata.quality.Scope

Description of the data specified by the scope.

Since:
2.1
Version:
$Id: ScopeImpl.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux, Toura?vane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.iso.MetadataEntity
LOGGER
 
Constructor Summary
ScopeImpl()
          Constructs an initially empty scope.
ScopeImpl(org.opengis.metadata.maintenance.ScopeCode level)
          Creates a scope initialized to the given level.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compares this Scope with the specified object for equality.
protected  void freeze()
          Declares this metadata and all its attributes as unmodifiable.
 org.opengis.metadata.extent.Extent getExtent()
          Information about the spatial, vertical and temporal extent of the data specified by the scope.
 org.opengis.metadata.maintenance.ScopeCode getLevel()
          Hierarchical level of the data specified by the scope.
 int hashCode()
          Returns a hash code value for this address.
 void setExtent(org.opengis.metadata.extent.Extent newValue)
          Set information about the spatial, vertical and temporal extent of the data specified by the scope.
 void setLevel(org.opengis.metadata.maintenance.ScopeCode newValue)
          Set the hierarchical level of the data specified by the scope.
 java.lang.String toString()
          Returns a string representation of this citation.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
appendLineSeparator, checkWritePermission, copyCollection, isModifiable, nonNullCollection, unmodifiable, unmodifiable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScopeImpl

public ScopeImpl()
Constructs an initially empty scope.


ScopeImpl

public ScopeImpl(org.opengis.metadata.maintenance.ScopeCode level)
Creates a scope initialized to the given level.

Method Detail

getLevel

public org.opengis.metadata.maintenance.ScopeCode getLevel()
Hierarchical level of the data specified by the scope.

Specified by:
getLevel in interface org.opengis.metadata.quality.Scope

setLevel

public void setLevel(org.opengis.metadata.maintenance.ScopeCode newValue)
Set the hierarchical level of the data specified by the scope.


getExtent

public org.opengis.metadata.extent.Extent getExtent()
Information about the spatial, vertical and temporal extent of the data specified by the scope.

Specified by:
getExtent in interface org.opengis.metadata.quality.Scope

setExtent

public void setExtent(org.opengis.metadata.extent.Extent newValue)
Set information about the spatial, vertical and temporal extent of the data specified by the scope.


freeze

protected void freeze()
Declares this metadata and all its attributes as unmodifiable.

Overrides:
freeze in class MetadataEntity

equals

public boolean equals(java.lang.Object object)
Compares this Scope with the specified object for equality.


hashCode

public int hashCode()
Returns a hash code value for this address. For performance reason, this method do not uses all attributes for computing the hash code. Instead, it uses the attributes that are the most likely to be unique.


toString

public java.lang.String toString()
Returns a string representation of this citation. The default implementation returns the title in the default locale.



Copyright © GeoTools. All Rights Reserved.