org.geotools.validation.attributes
Class SQLValidation

java.lang.Object
  extended byorg.geotools.validation.DefaultFeatureValidation
      extended byorg.geotools.validation.attributes.SQLValidation
All Implemented Interfaces:
FeatureValidation, Validation

public class SQLValidation
extends DefaultFeatureValidation

PointCoveredByLineValidation purpose.

SQL Validation

Version:
$Id: SQLValidation.java 17704 2006-01-23 00:26:16Z desruisseaux $
Author:
dzwiers, Refractions Research, Inc., $Author: dmzwiers $ (last modification)

Field Summary
 
Fields inherited from interface org.geotools.validation.Validation
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL
 
Constructor Summary
SQLValidation()
          PointCoveredByLineValidation constructor.
 
Method Summary
 java.lang.String getSql()
          Access lineTypeRef property.
 void setSql(java.lang.String sql)
          Set lineTypeRef to lineTypeRef.
 boolean validate(Feature feature, FeatureType type, ValidationResults results)
          SQL Validation
 
Methods inherited from class org.geotools.validation.DefaultFeatureValidation
getDefaultLineString, getDescription, getName, getPriority, getTypeRef, getTypeRefs, setDescription, setName, setTypeRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLValidation

public SQLValidation()
PointCoveredByLineValidation constructor.

Super

Method Detail

validate

public boolean validate(Feature feature,
                        FeatureType type,
                        ValidationResults results)
SQL Validation

Specified by:
validate in interface FeatureValidation
Overrides:
validate in class DefaultFeatureValidation
Parameters:
feature - Feature to be Validated
type - FeatureTypeInfo schema of feature
results - coallate results information
Returns:
See Also:
FeatureValidation.validate(org.geotools.feature.Feature, org.geotools.feature.FeatureType, org.geotools.validation.ValidationResults)

getSql

public java.lang.String getSql()
Access lineTypeRef property.

Returns:
Returns the sql.

setSql

public void setSql(java.lang.String sql)
Set lineTypeRef to lineTypeRef.

Parameters:
sql - The sql to set.


Copyright © GeoTools. All Rights Reserved.