org.geotools.metadata.iso.constraint
Class ConstraintsImpl
java.lang.Object
org.geotools.metadata.AbstractMetadata
org.geotools.metadata.ModifiableMetadata
org.geotools.metadata.iso.MetadataEntity
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
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 java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
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
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.