public class SQLValidation extends DefaultFeatureValidation
SQL Validation
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL| Constructor and Description |
|---|
SQLValidation()
PointCoveredByLineValidation constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSql()
Access lineTypeRef property.
|
void |
setSql(String sql)
Set lineTypeRef to lineTypeRef.
|
boolean |
validate(SimpleFeature feature,
SimpleFeatureType type,
ValidationResults results)
SQL Validation
|
getDefaultLineString, getDescription, getName, getPriority, getTypeRef, getTypeRefs, setDescription, setName, setTypeRefpublic SQLValidation()
Super
public boolean validate(SimpleFeature feature, SimpleFeatureType type, ValidationResults results)
validate in interface FeatureValidationvalidate in class DefaultFeatureValidationfeature - Feature to be Validatedtype - FeatureTypeInfo schema of featureresults - coallate results informationtrue if the feature is a valid geometry.org.geotools.validation.FeatureValidation#validate(org.geotools.feature.Feature,
org.geotools.feature.FeatureType, org.geotools.validation.ValidationResults)public String getSql()
public void setSql(String sql)
sql - The sql to set.Copyright © 1996–2019 Geotools. All rights reserved.