Package oracle.rules.sdk2.ruleset
Class ExpressionTable
java.lang.Object
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<Expression>
,Collection<Expression>
,List<Expression>
An ExpressionTable is a list of expressions which can be used in function
calls or asserts. It is created when an Action Form property is set
so that it has the correct number and type of parameters. Rows cannot be
added, deleted, or moved.
Calling an update methods throws OperationNotSupportedException.
- See Also:
-
Field Summary
Fields inherited from class oracle.rules.sdk2.dictionary.DictionaryComponentTable
SORT, SORT_ASCEND, SORT_DECEND
-
Constructor Summary
ConstructorsConstructorDescriptionExpressionTable
(boolean locked, DictionaryObject parent) ExpressionTable
(DictionaryObject parent) -
Method Summary
Modifier and TypeMethodDescriptionboolean
unlock the tablevoid
_endChange
(boolean locked) lock the tableadd
(int index) Create a new Expression and add it at the given indexgetByParameterAlias
(String parameterAlias) Get Expression from this table by parameter alias.getByParameterID
(DOID paramID) Get Expression in this table by parameter IDMethods inherited from class oracle.rules.sdk2.ruleset.RuleComponentTable
getParent
Methods inherited from class oracle.rules.sdk2.dictionary.DictionaryComponentTable
_clear, _remove, _remove, add, add, add, addAll, addAll, clear, contains, containsAll, copyTo, copyTo, cut, filter, get, getAEReferences, getAllReferences, getByAlias, getByAlias, getByID, getByName, getExprParserReferences, getLast, getMarked, getProtoType, indexOf, initProtoType, isEmpty, isLocked, iterator, lastIndexOf, listIterator, listIterator, mark, move, move, ordering, paste, remove, remove, removeAll, removeByAlias, removeByID, removeByName, removeMarked, removeProtoType, reorder, retainAll, set, size, sort, sort, sort, subList, toArray, toArray, unMark, validate, validate
Methods inherited from class oracle.rules.sdk2.dictionary.DictionaryObject
_clearID, equals, exists, getAEReferenceCount, getCombinedDataModel, getContainedIDs, getContainedIDs, getDataModel, getDictionary, getID, getIndent, getObjectPath, getObjectType, getParentByClass, getParentComponent, getParentComponentTable, getParentObject, getReferences, getRuleSet, getState, getWarnings, hashCode, isModified, setID, validate
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Constructor Details
-
ExpressionTable
-
ExpressionTable
-
-
Method Details
-
add
Create a new Expression and add it at the given index- Specified by:
add
in classDictionaryComponentTable<Expression>
- Returns:
- a new Expression
-
_beginChange
public boolean _beginChange()unlock the table -
_endChange
public void _endChange(boolean locked) lock the table -
getByParameterID
Get Expression in this table by parameter ID- Parameters:
paramID
- ID ofParameter
associated with the Expression- Returns:
- Expression that has the given parameter ID if available.
null
otherwise
-
getByParameterAlias
Get Expression from this table by parameter alias.- Parameters:
parameterAlias
- alias ofParameter
associated with the Expression- Returns:
- Expression corresponding to value of named parameter, or null if no such parameter.
-