org.geotools.validation.attributes
Class AttributeValidation

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

public class AttributeValidation
extends DefaultFeatureValidation

PointCoveredByLineValidation purpose.

Completes the specified attribute comparison.

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

Field Summary
static int EQUALITY
           
static int GREATER_THAN
           
static int LESS_THAN
           
 
Fields inherited from interface org.geotools.validation.Validation
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL
 
Constructor Summary
AttributeValidation()
          PointCoveredByLineValidation constructor.
 
Method Summary
 int getAttributeComparisonType()
          Access attributeComparisonType property.
 java.lang.String getAttributeComparisonValue()
          Access attributeComparisonValue property.
 java.lang.String getAttributeName()
          Access attributeName property.
 void setAttributeComparisonType(int attributeComparisonType)
          Set attributeComparisonType to attributeComparisonType.
 void setAttributeComparisonValue(java.lang.String attributeComparisonValue)
          Set attributeComparisonValue to attributeComparisonValue.
 void setAttributeName(java.lang.String attributeName)
          Set attributeName to attributeName.
 boolean validate(Feature feature, FeatureType type, ValidationResults results)
          Completes the specified comparison.
 
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
 

Field Detail

LESS_THAN

public static final int LESS_THAN
See Also:
Constant Field Values

EQUALITY

public static final int EQUALITY
See Also:
Constant Field Values

GREATER_THAN

public static final int GREATER_THAN
See Also:
Constant Field Values
Constructor Detail

AttributeValidation

public AttributeValidation()
PointCoveredByLineValidation constructor.

Super

Method Detail

validate

public boolean validate(Feature feature,
                        FeatureType type,
                        ValidationResults results)
Completes the specified comparison.

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)

getAttributeComparisonType

public int getAttributeComparisonType()
Access attributeComparisonType property.

Returns:
Returns the attributeComparisonType.

setAttributeComparisonType

public void setAttributeComparisonType(int attributeComparisonType)
Set attributeComparisonType to attributeComparisonType.

Parameters:
attributeComparisonType - The attributeComparisonType to set.

getAttributeComparisonValue

public java.lang.String getAttributeComparisonValue()
Access attributeComparisonValue property.

Returns:
Returns the attributeComparisonValue.

setAttributeComparisonValue

public void setAttributeComparisonValue(java.lang.String attributeComparisonValue)
Set attributeComparisonValue to attributeComparisonValue.

Parameters:
attributeComparisonValue - The attributeComparisonValue to set.

getAttributeName

public java.lang.String getAttributeName()
Access attributeName property.

Returns:
Returns the attributeName.

setAttributeName

public void setAttributeName(java.lang.String attributeName)
Set attributeName to attributeName.

Parameters:
attributeName - The attributeName to set.


Copyright © GeoTools. All Rights Reserved.