net.sf.adatagenerator.pred
Class TrimmedStringsLowerCase<R>
java.lang.Object
net.sf.adatagenerator.pred.AbstractPredicate<E,R>
net.sf.adatagenerator.pred.ReflectionPredicate<String,PredicateExporter.EXPORT_TYPE_JAVA,R>
net.sf.adatagenerator.pred.StringPredicate<R>
net.sf.adatagenerator.pred.TrimmedStringsLowerCase<R>
- Type Parameters:
R - the record type
- All Implemented Interfaces:
- ExportablePredicate<PredicateExporter.EXPORT_TYPE_JAVA,R>, Predicate<R>
Deprecated. Moved to the com.choicemaker.correlation.predicates package
public class TrimmedStringsLowerCase<R>
- extends StringPredicate<R>
A predicate that checks whether the (String) values of a particular field for
a pair of records are equal after they have been trimmed and converted to
lower case.
- Author:
- rphall
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static Logger logger
- Deprecated.
TrimmedStringsLowerCase
public TrimmedStringsLowerCase(String predicateName,
Method fieldAccessor)
- Deprecated.
- Constructs a predicate
- Parameters:
predicateName - the name of this predicatefieldAccessor - a field accessor returning a String value
isFieldValidForEvaluation
public boolean isFieldValidForEvaluation(String s)
- Deprecated.
- Specified by:
isFieldValidForEvaluation in class StringPredicate<R>
evaluateFieldValues
public boolean evaluateFieldValues(String qVal,
String mVal)
- Deprecated.
- Specified by:
evaluateFieldValues in class StringPredicate<R>
getSupportedExportTypes
public Set<PredicateExporter.EXPORT_TYPE_JAVA> getSupportedExportTypes()
- Deprecated.
- Specified by:
getSupportedExportTypes in interface ExportablePredicate<PredicateExporter.EXPORT_TYPE_JAVA,R>- Specified by:
getSupportedExportTypes in class StringPredicate<R>
exportValidityLogicToClueMaker
public String exportValidityLogicToClueMaker()
throws ExportException
- Deprecated.
- Description copied from class:
StringPredicate
- This method always throws an
ExportException. Subclasses
should override this method to support exporting to ChoiceMaker ClueMaker
version 2.5
- Overrides:
exportValidityLogicToClueMaker in class StringPredicate<R>
- Throws:
ExportException - unless overridden
exportEvaluationLogicToClueMaker
public String exportEvaluationLogicToClueMaker()
throws ExportException
- Deprecated.
- Description copied from class:
StringPredicate
- This method always throws an
ExportException. Subclasses
should override this method to support exporting to ChoiceMaker ClueMaker
version 2.5
- Overrides:
exportEvaluationLogicToClueMaker in class StringPredicate<R>
- Throws:
ExportException - unless overridden
Copyright © 2011-2012. All Rights Reserved.