|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1.7) E10663-11 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.rules.rl.extensions.ClassFilter
public class ClassFilter
A filter that passes objects that are instances of a particular class.
Constructor Summary | |
---|---|
ClassFilter(java.lang.String className,
RuleSession rs)
Creates a new class filter. |
Method Summary | |
---|---|
boolean |
accept(java.lang.Object object)
Indicates that the specified object passes the filter if it is an instance of the class this filter was instantiated with. |
void |
reset()
Reset has no affect on this filter. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassFilter(java.lang.String className, RuleSession rs) throws UndefinedException
className
- the name of the class that the filter should pass
instances of. The class may be an RL class or a Java class.
Consistent with RL semantics, it looks for an RL class with
the specified name first and then looks for a Java class .rs
- the RuleSession this filter will be used with. It is used
to handle RL classes.
UndefinedException
Method Detail |
---|
public boolean accept(java.lang.Object object)
accept
in interface ObjectFilter
object
- the object to apply the filter to.
public void reset()
reset
in interface ObjectFilter
|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1.7) E10663-11 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |