Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.ide.condition
Class InstanceOfCondition

java.lang.Object
  extended by oracle.ide.condition.InstanceOfCondition
All Implemented Interfaces:
Condition

public class InstanceOfCondition
extends java.lang.Object
implements Condition

Evaluates if a key in the context is instance of a type.

Since:
11/20/2007

Constructor Summary
InstanceOfCondition()
           
 
Method Summary
 boolean evaluate(Context context)
          Evaluates the condition.
Must return true if the value must change, in that case no further conditions (if any) will be evaluated, return false otherwise, thus giving the opportunity for other conditions to be tested.
 void setKey(java.lang.String key)
           
 void setType(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceOfCondition

public InstanceOfCondition()
Method Detail

evaluate

public boolean evaluate(Context context)
Description copied from interface: Condition
Evaluates the condition.
Must return true if the value must change, in that case no further conditions (if any) will be evaluated, return false otherwise, thus giving the opportunity for other conditions to be tested.

Specified by:
evaluate in interface Condition
Parameters:
context - the current context
Returns:
true if the condition succeeds, false otherwise

setKey

public void setKey(java.lang.String key)

setType

public void setType(java.lang.String type)

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.