net.sf.adatagenerator.pred
Class AbstractPredicate<E extends Enum<E>,R>
java.lang.Object
net.sf.adatagenerator.pred.AbstractPredicate<E,R>
- All Implemented Interfaces:
- ExportablePredicate<E,R>, Predicate<R>
- Direct Known Subclasses:
- ExactMatchPredicate, ReflectionPredicate
Deprecated. Moved to the com.choicemaker.correlation package
public abstract class AbstractPredicate<E extends Enum<E>,R>
- extends Object
- implements Predicate<R>, ExportablePredicate<E,R>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static Logger logger
- Deprecated.
AbstractPredicate
public AbstractPredicate(String predicateName)
- Deprecated.
getName
public String getName()
- Deprecated.
- Specified by:
getName in interface Predicate<R>
evaluate
public boolean evaluate(com.choicemaker.shared.api.CMPair<? extends R> pair)
throws EvaluationException
- Deprecated.
- Description copied from interface:
Predicate
- Evaluates whether a pair of records satisfies this predicate.
- Specified by:
evaluate in interface Predicate<R>
- Parameters:
pair - a non-null pair of records
- Returns:
- true if the pairs satisfies this predicate; false otherwise
- Throws:
EvaluationException - if an exception occurs during the evaluation
evaluateRecords
public abstract boolean evaluateRecords(R q,
R m)
throws Exception
- Deprecated.
- Throws:
Exception
isRecordValidForEvaluation
public abstract boolean isRecordValidForEvaluation(R r)
- Deprecated.
Copyright © 2011-2012. All Rights Reserved.