Performs a lookup on the FeatureTypeInfo name to determine what IntegrityTests need to be performed. Once these tests are gathered, they are run on the collection features in the Envelope, defined by a SimpleFeatureSource (not a FeatureCollection!). The first validation test lookup checks to see if there are any validations that are to be performed on every FeatureTypeInfo. An example of this could be a uniqueID() test on a unique column value in all FeatureTypes. Once those tests have been gathered, a lookup is performed on the TypeName of the FeatureTypeInfo to check for specific Integrity validation tests. A list of validation tests is returned from each lookup, if any exist. When all the validation tests have been gathered, each test is iterated through then run on each Feature, with the ValidationResults coming along for the ride, collecting error information.
@param typeRefs List of modified features, or null to usestores.keySet() @param stores the Map of effected features (Map of key=typeRef,value="featureSource" @param envelope The bounding box that contains all modified Features @param results Storage for the results of the validation tests. @throws Exception Throws an exception if the HashMap contains a valuethat is not a FeatureSource
|
|
|
|