public class LinesNotIntersectValidation extends LineLineAbstractValidation
If they do then the validation failed.
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL| Constructor and Description |
|---|
LinesNotIntersectValidation()
An no argument constructor (for the Java Beans Specification)
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority()
Override getPriority.
|
boolean |
validate(Map layers,
Envelope envelope,
ValidationResults results)
Ensure Lines do not intersect.
|
getLineTypeRef, getRestrictedLineTypeRef, getTypeRefs, setLineTypeRef, setRestrictedLineTypeRefgetDescription, getName, setDescription, setName, validatepublic LinesNotIntersectValidation()
public boolean validate(Map layers, Envelope envelope, ValidationResults results) throws Exception
This is supposed to go off and grab the necesary features from the database using the envelope with the typeNames. But it doesn't yet. It just uses the ones passed in through parameter layers.
layers - a HashMap of key="TypeName" value="FeatureSource"envelope - The bounding box of modified featuresresults - Storage for the error and warning messagesException - DOCUMENT ME!org.geotools.validation.IntegrityValidation#validate(java.util.Map,
org.locationtech.jts.geom.Envelope, org.geotools.validation.ValidationResults)public int getPriority()
Sets the priority level of this validation.
getPriority in interface ValidationgetPriority in class DefaultIntegrityValidationValidation.getPriority()Copyright © 1996–2019 Geotools. All rights reserved.