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 TypeMethodDescriptionbooleanunlock 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
getParentMethods 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, validateMethods 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, validateMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods 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:
addin 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 ofParameterassociated with the Expression- Returns:
- Expression that has the given parameter ID if available.
nullotherwise
-
getByParameterAlias
Get Expression from this table by parameter alias.- Parameters:
parameterAlias- alias ofParameterassociated with the Expression- Returns:
- Expression corresponding to value of named parameter, or null if no such parameter.
-