当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
ObjectFactory (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.base.evaluators
Class ObjectFactory
java.lang.Object
org.drools.base.evaluators.ObjectFactory
- All Implemented Interfaces:
- Serializable, EvaluatorFactory
public class ObjectFactory
- extends Object
- implements EvaluatorFactory
This is the misc "bucket" evaluator factory for objects.
It is fairly limited in operations,
and what operations are available are dependent on the exact type.
This supports "<" and ">" etc by requiring objects to implement the comparable interface.
Of course, literals will not work with comparator, as it has no way
of converting from literal to the appropriate type.
- Author:
- Michael Neale
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static EvaluatorFactory getInstance()
getEvaluator
public Evaluator getEvaluator(Operator operator)
- Specified by:
getEvaluator
in interface EvaluatorFactory
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.