| java.lang.Object org.geotools.validation.DefaultFeatureValidation org.geotools.validation.attributes.EqualityValidation
EqualityValidation | public class EqualityValidation extends DefaultFeatureValidation (Code) | | Tests to see if an attribute is equal to a provided value.
I can only see this test being useful if a Filter is also used. Online
research shows that this test is used in the wild, so we are adding it into
our system.
author: Jody Garnett, Refractions Research, Inc. author: $Author: dmzwiers $ (last modification) version: $Id: EqualityValidation.java 27862 2007-11-12 19:51:19Z desruisseaux $ |
Constructor Summary | |
public | EqualityValidation() No argument constructor, required by the Java Bean Specification. |
EqualityValidation | public EqualityValidation()(Code) | | No argument constructor, required by the Java Bean Specification.
|
getAttributeName | public String getAttributeName()(Code) | | Access attributeName property.
Returns the attributeName. |
getExpected | public Object getExpected()(Code) | | Access expected property.
Returns the expected. |
getFilter | public Filter getFilter()(Code) | | Access filter property.
Returns the filter. |
setAttributeName | public void setAttributeName(String attributeName)(Code) | | Set attributeName to attributeName.
Parameters: attributeName - The attributeName to set. |
setExpected | public void setExpected(Object expected)(Code) | | Set expected to expected.
Parameters: expected - The expected to set. |
setFilter | public void setFilter(Filter filter)(Code) | | Set filter to filter.
Parameters: filter - The filter to set. |
|
|