|
Oracle Business Rules Java API Reference 10g (10.1.3.1.0) B28966-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.util.AbstractMap
java.util.HashMap
oracle.rules.sdk.editor.ruleset.RuleComponent
oracle.rules.sdk.editor.ruleset.Action
An action, such as assert, assign, call, or retract.
When using this interface, selecting the Form property first will fix the options for target, which in turn will fix the number of expressions and the option list for each. The expressions cannot be added to the table; this is done automatically when the form and target are selected.
The interface can be used to build client side scripts, server interactions or some combination of both.
FORM TARGET PARAMETERS FORM_ASSERT variable bean properties FORM_ASSERT_NEW bean class bean properties FORM_ASSIGN variable one of correct type FORM_CALL function/method parameters of correct type FORM_RETRACT pattern variable none FORM_RL RL Text none
Field Summary | |
static java.lang.String |
FORM_ASSERT |
static java.lang.String |
FORM_ASSERT_NEW |
static java.lang.String |
FORM_ASSIGN |
static java.lang.String |
FORM_CALL |
static java.lang.String |
FORM_MAKE_CHOICE |
static java.lang.String |
FORM_RETRACT |
static java.lang.String |
FORM_RL |
static java.lang.String[] |
FORMS |
static java.lang.String |
PROP_EXCEPTION |
static java.lang.String |
PROP_EXPRESSION_TABLE |
static java.lang.String |
PROP_FORM |
static java.lang.String |
PROP_SIMPLE_TEST_TABLE |
static java.lang.String |
PROP_TARGET |
Method Summary | |
java.lang.Object |
get(java.lang.Object key) Generic property getter inheirited from RuleComponent . |
Expression |
getExpression(int i) Shorthand for getExpressionTable.getExpression(i) |
ExpressionTable |
getExpressionTable() |
java.lang.String |
getForm() Get What kind of action. |
java.lang.String |
getFormConstraint() |
java.lang.String[] |
getFormOptions() |
int |
getFormSelected() |
java.lang.String[] |
getPropertyNames() |
SimpleTestTable |
getSimpleTestTable() |
java.lang.String |
getTarget() |
java.lang.String |
getTargetConstraint() |
java.lang.String[] |
getTargetOptions() |
int |
getTargetSelected() |
java.lang.Object |
put(java.lang.Object key, java.lang.Object value) Generic property setter. |
void |
setForm(java.lang.String form) Set What kind of action. |
void |
setFormConstraint(java.lang.String formConstraint) |
void |
setFormOptions(java.lang.String[] formOptions) |
void |
setTarget(java.lang.String target) |
void |
setTargetConstraint(java.lang.String targetConstraint) |
void |
setTargetOptions(java.lang.String[] targetOptions) |
void |
validate() Validates the correctness of the RuleComponent and all RuleComponents below it. |
Methods inherited from class oracle.rules.sdk.editor.ruleset.RuleComponent |
clear, discardCopy, get, getConstraint, getConstraintList, getCustom, getDescription, getID, getOptions, getParent, getParentTable, getRange, getRuleDictionary, getSelected, remove, restoreCopy, saveCopy, setCustom, setDescription, setRuleDictionary, toString |
Methods inherited from class java.util.HashMap |
clone, containsKey, containsValue, entrySet, isEmpty, keySet, putAll, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Field Detail |
public static final java.lang.String FORM_MAKE_CHOICE
public static final java.lang.String FORM_ASSERT
public static final java.lang.String FORM_ASSERT_NEW
public static final java.lang.String FORM_ASSIGN
public static final java.lang.String FORM_CALL
public static final java.lang.String FORM_RETRACT
public static final java.lang.String FORM_RL
public static final java.lang.String[] FORMS
public static final java.lang.String PROP_FORM
public static final java.lang.String PROP_TARGET
public static final java.lang.String PROP_EXPRESSION_TABLE
public static final java.lang.String PROP_EXCEPTION
public static final java.lang.String PROP_SIMPLE_TEST_TABLE
Method Detail |
public java.lang.Object get(java.lang.Object key)
RuleComponent
RuleComponent
.
Please see the specific bean class for a list of properties.
get
in interface java.util.Map
get
in class RuleComponent
key
- a String containing the property name to be fetched.public java.lang.Object put(java.lang.Object key, java.lang.Object value)
RuleComponent
A put() with either null key or null value throws a NullPointerException.
A put() with a key that is not a String throws a ClassCastException
A put() of a value that is not of the correct type for the key throws a ClassCastException.
Bean properties which have no set() method are read only, and cannot be modified using the put(). Attempting to do so throws a runtime IllegalArgumentException. PROP_ID, and PROP_*_SELECTED are always read only.
put
in interface java.util.Map
put
in class RuleComponent
key
- the key of the property to setvalue
- the value of the named property to setpublic void validate() throws RuleEditorException, RuleEditorSDKException
RuleComponent
validate
in class RuleComponent
RuleEditorSDKException
- incorrect SDK usageRuleEditorException
- for user input errorspublic Expression getExpression(int i)
i
- ordinal of SimpleTest to retrieve from SimpleTestTablejava.lang.IndexOutOfBoundsException
public java.lang.String[] getPropertyNames()
getPropertyNames
in class RuleComponent
public java.lang.String getForm()
see FORM_ above
public void setForm(java.lang.String form)
see FORM_ above
public java.lang.String getFormConstraint()
public void setFormConstraint(java.lang.String formConstraint)
public java.lang.String[] getFormOptions()
public void setFormOptions(java.lang.String[] formOptions)
public int getFormSelected()
public java.lang.String getTarget()
public void setTarget(java.lang.String target)
public java.lang.String getTargetConstraint()
public void setTargetConstraint(java.lang.String targetConstraint)
public java.lang.String[] getTargetOptions()
public void setTargetOptions(java.lang.String[] targetOptions)
public int getTargetSelected()
public ExpressionTable getExpressionTable()
public SimpleTestTable getSimpleTestTable()
|
Oracle Business Rules Java API Reference 10g (10.1.3.1.0) B28966-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |