org.geotools.metadata.iso.constraint
Class ConstraintsImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by ConstraintsImpl
All Implemented Interfaces:
Serializable, Cloneable, Constraints
Direct Known Subclasses:
LegalConstraintsImpl, SecurityConstraintsImpl

public class ConstraintsImpl
extends MetadataEntity
implements Constraints

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

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
ConstraintsImpl()
          Constructs an initially empty constraints.
ConstraintsImpl(Constraints source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 Collection<InternationalString> getUseLimitation()
          Returns the limitation affecting the fitness for use of the resource.
 void setUseLimitation(Collection<? extends InternationalString> newValues)
          Set the limitation affecting the fitness for use of the resource.
 
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

ConstraintsImpl

public ConstraintsImpl()
Constructs an initially empty constraints.


ConstraintsImpl

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

Since:
2.4
Method Detail

getUseLimitation

public Collection<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 Constraints

setUseLimitation

public void setUseLimitation(Collection<? extends 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.