org.geotools.metadata.iso.constraint
Class ConstraintsImpl

java.lang.Object
  extended byorg.geotools.metadata.iso.MetadataEntity
      extended byorg.geotools.metadata.iso.constraint.ConstraintsImpl
All Implemented Interfaces:
java.lang.Cloneable, org.opengis.metadata.constraint.Constraints, java.io.Serializable
Direct Known Subclasses:
LegalConstraintsImpl, SecurityConstraintsImpl

public class ConstraintsImpl
extends MetadataEntity
implements org.opengis.metadata.constraint.Constraints

Restrictions on the access and use of a resource or metadata.

Since:
2.1
Version:
$Id: ConstraintsImpl.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
ConstraintsImpl()
          Constructs an initially empty constraints.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this constraints with the specified object for equality.
protected  void freeze()
          Declare this metadata and all its attributes as unmodifiable.
 java.util.Collection getUseLimitation()
          Returns the limitation affecting the fitness for use of the resource.
 int hashCode()
          Returns a hash code value for this constraints.
 void setUseLimitation(java.util.Collection newValues)
          Set the limitation affecting the fitness for use of the resource.
 java.lang.String toString()
          Returns a string representation of this constraints.
 
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

ConstraintsImpl

public ConstraintsImpl()
Constructs an initially empty constraints.

Method Detail

getUseLimitation

public java.util.Collection getUseLimitation()
Returns the limitation affecting the fitness for use of the resource. Example, "not to be used for navigation".

Specified by:
getUseLimitation in interface org.opengis.metadata.constraint.Constraints

setUseLimitation

public void setUseLimitation(java.util.Collection newValues)
Set the limitation affecting the fitness for use of the resource. Example, "not to be used for navigation".


freeze

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

Overrides:
freeze in class MetadataEntity

equals

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


hashCode

public int hashCode()
Returns a hash code value for this constraints.


toString

public java.lang.String toString()
Returns a string representation of this constraints.



Copyright © GeoTools. All Rights Reserved.