public class UniquityValidation extends DefaultIntegrityValidation
For a starting point you may want to look at UniqueFIDIntegrityValidation
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL
Constructor and Description |
---|
UniquityValidation()
No argument constructor, required by the Java Bean Specification.
|
Modifier and Type | Method and Description |
---|---|
int |
getPriority()
The priority level used to schedule this Validation.
|
boolean |
validate(Map layers,
Envelope envelope,
ValidationResults results)
Check FeatureType for ...
|
getDescription, getName, getTypeRefs, setDescription, setName, validate
public UniquityValidation()
public int getPriority()
getPriority
in interface Validation
getPriority
in class DefaultIntegrityValidation
Validation.getPriority()
public boolean validate(Map layers, Envelope envelope, ValidationResults results) throws Exception
Detailed description...
layers
- Map of SimpleFeatureSource by "dataStoreID:typeName"envelope
- The bounding box that encloses the unvalidated dataresults
- Used to coallate results informationtrue
if all the features pass this test.Exception
- DOCUMENT ME!Copyright © 1996–2019 Geotools. All rights reserved.