Please note that featureIDs are not attributes. Attributes may be checked with the UniquityValidation class.
The FeatureTypes it checks against are defined by typeNames[]. If a duplicate ID is detected, an error message returned via a Validation Result used as a visitor in the validation() method.
Example Use:
UniqueFIDIntegrityValidation x = new UniqueFIDIntegrityValidation("uniqueFID_road", "Checks if each feature has a unique ID", new String[] {"road", "river"}, "FID"); x.validate();
@author bowens, Refractions Research, Inc.
@author $Author: dmzwiers $ (last modification)
@source $URL$
@version $Id$
|
|