net.sf.adatagenerator.pred
Class ReflectionPredicate<F,E extends Enum<E>,R>
java.lang.Object
net.sf.adatagenerator.pred.AbstractPredicate<E,R>
net.sf.adatagenerator.pred.ReflectionPredicate<F,E,R>
- Type Parameters:
F - the type of field that this predicate evaluatesE - an enumeration of the possible export types that this instance
conditionally supportsR - the type of record from which this predicate gets up a field value
- All Implemented Interfaces:
- ExportablePredicate<E,R>, Predicate<R>
- Direct Known Subclasses:
- StringPredicate
Deprecated. Moved to the com.choicemaker.correlation package
public abstract class ReflectionPredicate<F,E extends Enum<E>,R>
- extends AbstractPredicate<E,R>
- 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.
qFld
public final String qFld
- Deprecated.
mFld
public final String mFld
- Deprecated.
rFld
public final String rFld
- Deprecated.
ReflectionPredicate
public ReflectionPredicate(String predicateName,
Method fieldAccessor,
Class<F> fieldType)
- Deprecated.
getFieldAccessor
protected Method getFieldAccessor()
- Deprecated.
getFieldType
public Class<F> getFieldType()
- Deprecated.
getFieldNameStem
public String getFieldNameStem()
- Deprecated.
isRecordValidForEvaluation
public boolean isRecordValidForEvaluation(R r)
- Deprecated.
- Specified by:
isRecordValidForEvaluation in class AbstractPredicate<E extends Enum<E>,R>
evaluateRecords
public boolean evaluateRecords(R q,
R m)
throws Exception
- Deprecated.
- Specified by:
evaluateRecords in class AbstractPredicate<E extends Enum<E>,R>
- Throws:
Exception
isFieldValidForEvaluation
public abstract boolean isFieldValidForEvaluation(F f)
- Deprecated.
evaluateFieldValues
public abstract boolean evaluateFieldValues(F qVal,
F mVal)
- Deprecated.
Copyright © 2011-2012. All Rights Reserved.