org.geotools.validation.attributes
Class UniquityValidation
Object
DefaultIntegrityValidation
UniquityValidation
- All Implemented Interfaces:
- IntegrityValidation, Validation
public class UniquityValidation
- extends DefaultIntegrityValidation
Tests to that an attribute's value is unique across the entire FeatureType.
For a starting point you may want to look at UniqueFIDIntegrityValidation
- Author:
- Jody Garnett, Refractions Research, Inc., $Author: dmzwiers $ (last modification)
|
Constructor Summary |
UniquityValidation()
No argument constructor, required by the Java Bean Specification. |
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UniquityValidation
public UniquityValidation()
- No argument constructor, required by the Java Bean Specification.
getPriority
public int getPriority()
- The priority level used to schedule this Validation.
- Specified by:
getPriority in interface Validation- Overrides:
getPriority in class DefaultIntegrityValidation
- Returns:
- PRORITY_SIMPLE
- See Also:
Validation.getPriority()
validate
public boolean validate(Map layers,
Envelope envelope,
ValidationResults results)
throws Exception
- Check FeatureType for ...
Detailed description...
- Parameters:
layers - Map of SimpleFeatureSource by "dataStoreID:typeName"envelope - The bounding box that encloses the unvalidated dataresults - Used to coallate results information
- Returns:
true if all the features pass this test.
- Throws:
Exception - DOCUMENT ME!
Copyright © 1996-2013 Geotools. All Rights Reserved.