| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.geotools.validation.DefaultIntegrityValidation
Tests to see if a Feature ...
This class is ment to be copied as a starting point for implementing IntegrityValidation. Chances are you are not working against a single typeName when performing an integrity test.
| Field Summary | 
| Fields inherited from interface org.geotools.validation.Validation | 
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL | 
| Constructor Summary | |
DefaultIntegrityValidation()
No argument constructor, required by the Java Bean Specification.  | 
|
| Method Summary | |
 java.lang.String | 
getDescription()
Override getDescription.  | 
 java.lang.String | 
getName()
Override getName.  | 
 int | 
getPriority()
The priority level used to schedule this Validation.  | 
 java.lang.String[] | 
getTypeRefs()
Implementation of getTypeNames.  | 
 void | 
setDescription(java.lang.String description)
Override setDescription.  | 
 void | 
setName(java.lang.String name)
Override setName.  | 
 boolean | 
validate(java.util.Map layers,
         com.vividsolutions.jts.geom.Envelope envelope,
         ValidationResults results)
Check FeatureType for ...  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public DefaultIntegrityValidation()
| Method Detail | 
public final void setName(java.lang.String name)
Sets the name of this validation.
setName in interface Validationname - The name of this validation.Validation.setName(java.lang.String)public final java.lang.String getName()
Returns the name of this particular validation.
getName in interface ValidationValidation.getName()public final void setDescription(java.lang.String description)
Sets the description of this validation.
setDescription in interface Validationdescription - The description of the validation.Validation.setDescription(java.lang.String)public final java.lang.String getDescription()
Returns the description of this validation as a string.
getDescription in interface ValidationValidation.getDescription()public int getPriority()
getPriority in interface ValidationValidation.getPriority()public java.lang.String[] getTypeRefs()
getTypeRefs in interface Validationorg.geotools.validation.Validation#getTypeNames()
public boolean validate(java.util.Map layers,
                        com.vividsolutions.jts.geom.Envelope envelope,
                        ValidationResults results)
                 throws java.lang.Exception
Detailed description...
validate in interface IntegrityValidationlayers - 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
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||