| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.validation.DefaultIntegrityValidation
org.geotools.validation.attributes.UniquityValidation
Tests to that an attribute's value is unique across the entire FeatureType.
For a starting point you may want to look at UniqueFIDIntegrityValidation
| Field Summary | 
| Fields inherited from interface org.geotools.validation.Validation | 
| ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL | 
| Constructor Summary | |
| UniquityValidation()No argument constructor, required by the Java Bean Specification. | |
| Method Summary | |
|  int | getPriority()The priority level used to schedule this Validation. | 
|  boolean | validate(java.util.Map layers,
         com.vividsolutions.jts.geom.Envelope envelope,
         ValidationResults results)Check FeatureType for ... | 
| Methods inherited from class org.geotools.validation.DefaultIntegrityValidation | 
| getDescription, getName, getTypeRefs, setDescription, setName | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public UniquityValidation()
| Method Detail | 
public int getPriority()
getPriority in interface ValidationgetPriority in class DefaultIntegrityValidationValidation.getPriority()
public boolean validate(java.util.Map layers,
                        com.vividsolutions.jts.geom.Envelope envelope,
                        ValidationResults results)
                 throws java.lang.Exception
Detailed description...
validate in interface IntegrityValidationvalidate in class DefaultIntegrityValidationlayers - Map of FeatureSource by "dataStoreID:typeName"envelope - The bounding box that encloses the unvalidated dataresults - Used to coallate results information
true if all the features pass this test.
java.lang.Exception - DOCUMENT ME!| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||