org.geotools.metadata.iso.constraint
Class ConstraintsImpl

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.constraint.ConstraintsImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.constraint.Constraints
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 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
ConstraintsImpl()
          Constructs an initially empty constraints.
ConstraintsImpl(org.opengis.metadata.constraint.Constraints source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 java.util.Collection<org.opengis.util.InternationalString> getUseLimitation()
          Returns the limitation affecting the fitness for use of the resource.
 void setUseLimitation(java.util.Collection<? extends org.opengis.util.InternationalString> newValues)
          Set the limitation affecting the fitness for use of the resource.
 
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

ConstraintsImpl

public ConstraintsImpl()
Constructs an initially empty constraints.


ConstraintsImpl

public ConstraintsImpl(org.opengis.metadata.constraint.Constraints source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4
Method Detail

getUseLimitation

public java.util.Collection<org.opengis.util.InternationalString> 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<? extends org.opengis.util.InternationalString> newValues)
Set the limitation affecting the fitness for use of the resource. Example, "not to be used for navigation".



Copyright © 1996-2010 Geotools. All Rights Reserved.