|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectDefaultFeatureValidation
SQLValidation
public class SQLValidation
PointCoveredByLineValidation purpose.
SQL Validation
modules/extension/validation (gt-validation.jar)
Field Summary |
---|
Fields inherited from interface Validation |
---|
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL |
Constructor Summary | |
---|---|
SQLValidation()
PointCoveredByLineValidation constructor. |
Method Summary | |
---|---|
String |
getSql()
Access lineTypeRef property. |
void |
setSql(String sql)
Set lineTypeRef to lineTypeRef. |
boolean |
validate(SimpleFeature feature,
SimpleFeatureType type,
ValidationResults results)
SQL Validation |
Methods inherited from class DefaultFeatureValidation |
---|
getDefaultLineString, getDescription, getName, getPriority, getTypeRef, getTypeRefs, setDescription, setName, setTypeRef |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLValidation()
Super
Method Detail |
---|
public boolean validate(SimpleFeature feature, SimpleFeatureType type, ValidationResults results)
validate
in interface FeatureValidation
validate
in class DefaultFeatureValidation
feature
- Feature to be Validatedtype
- FeatureTypeInfo schema of featureresults
- coallate results information
true
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |