|
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.AbstractCollection
java.util.AbstractList
java.util.ArrayList
oracle.rules.sdk.editor.datamodel.ModelComponentTable
oracle.rules.sdk.editor.datamodel.VariableTable
Top level table in the datamodel. It contains a list of global variables.
Method Summary | |
Variable |
add() Create a Variable and add it to the Variable table |
Variable |
getVariable(int index) get a variable by index |
Variable |
getVariable(java.lang.String id) get a variable by id |
Variable |
getVariableByName(java.lang.String name) get a variable by name |
java.lang.Object |
removeByID(java.lang.String id) Remove a variable by id. |
java.lang.Object |
removeByName(java.lang.String name) Remove a variable by name. |
Methods inherited from class oracle.rules.sdk.editor.datamodel.ModelComponentTable |
getParent, mark, removeMarked |
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, remove, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList |
Method Detail |
public Variable add()
public Variable getVariable(int index)
index
- the index of the variable listpublic Variable getVariable(java.lang.String id)
id
- the id of the variable requestedpublic Variable getVariableByName(java.lang.String name)
name
- the name of the variable requestedpublic java.lang.Object removeByID(java.lang.String id) throws DeleteException
removeByID
in class ModelComponentTable
id
- the id of the variable to be removedthrown
- if the variable is used in other datamodel/rule definition(s). The message of the exception contains all the places where the variable is usedDeleteException
public java.lang.Object removeByName(java.lang.String name) throws DeleteException
name
- the name of the variable to be removedthrown
- if the variable is used in other datamodel/rule definition(s). The message of the exception contains all the places where the variable is usedDeleteException
|
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 |