Class Action
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,,Object> UnnamedComponent,ExpressionContext,ScopedVariable,VariableScope,VerbalRuleComponent
- Direct Known Subclasses:
DTAction
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 or target is selected.
Actions are described using a combination of properties, dictated by the Form property:
- SimpleTestTable
- ExpressionTable
- ActionTable
- Variable
- Target
| Form | SimpleTestTable | ExpressionTable | ActionTable | Variable | Target |
|---|---|---|---|---|---|
| rl | - | - | - | - | RL |
| call | - | arguments | - | - | function or method |
| assert | - | object to assert | - | - | object to assert |
| assert tree | - | tree to assert | - | - | tree to assert |
| assert new | - | property values | - | - | fact type |
| retract | - | fact to retract | - | - | fact to retract |
| assign | - | RHS | - | - | LHS |
| assign new | - | initial value | - | name | fact type |
| expression | - | expression | - | - | - |
| modify | - | property values | - | - | fact to modify |
| synchronized | - | lock object | - | - | lock object |
| if | - | boolean expression | if actions | - | - |
| else if | - | boolean expression | if actions | - | - |
| if test | test | - | if actions | - | - |
| else if test | test | - | if actions | - | - |
| else | - | - | else actions | - | - |
| for | - | List expression | loop actions | loop var | list content type |
| while | - | boolean expression | loop actions | - | - |
| while test | test | - | loop actions | - | - |
| return | - | return expression | - | - | - |
| throw | - | throw expression | - | - | - |
| try | - | - | try actions | - | - |
| catch | - | - | catch actions | excep name | excep type |
| finally | - | - | final actions | - | - |
For example, an If action (FORM_IF) is required to have a nested block. The nested block contains any statements that in within the scope of the if test FORM_IF ActionTable contains the statment belonging to the if condition expression
The for action supports both for (i = 0; i < 10; i = i + 1) and for (Foo f : listFoo). The first form is deprecated. The UI should support the second form as follows: for (<type> <var> : <collection>) { The type is bound to Action.target, the var is bound to Action.variable, and collection is bound to Action.expression(0).value
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassA form property can get its translated value using the string translator.classA target property can get and set its translated value using its expression parser.Nested classes/interfaces inherited from class oracle.rules.sdk2.dictionary.DictionaryComponent
DictionaryComponent.Diff<T extends DictionaryComponent>, DictionaryComponent.DiffSummary, DictionaryComponent.DiffTypeNested classes/interfaces inherited from interface java.util.Map
Map.Entry<K extends Object,V extends Object> Nested classes/interfaces inherited from interface oracle.rules.sdk2.ruleset.VariableScope
VariableScope.ExprLocation -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class oracle.rules.sdk2.ruleset.RuleComponent
BUILTINFields inherited from class oracle.rules.sdk2.dictionary.DictionaryComponent
PROP_ACCESS, PROP_ACTION_SELECTED, PROP_ACTION_TABLE, PROP_ACTIVE, PROP_ACTUAL_TEST_OUTPUT_TABLE, PROP_ADHOC_TEST_VALIDATION, PROP_ADVANCED_MODE, PROP_AGGREGATE, PROP_AGGREGATE_TABLE, PROP_ALIAS, PROP_ALLOW_GAPS, PROP_ALWAYS_SELECTED, PROP_ARRAY, PROP_ARRAY_COMPONENT_TYPE, PROP_ARRAY_COMPONENT_TYPE_ID, PROP_ARRAY_FACT_TYPE_TABLE, PROP_AUTO_CONFLICT_RESOLUTION, PROP_AUTO_PATTERN_PROPERTY, PROP_AUTO_SYNC, PROP_BODY, PROP_BUCKET_ID_TABLE, PROP_BUCKET_SET, PROP_BUCKET_SET_ID, PROP_BUCKET_SET_TABLE, PROP_BUCKET_TABLE, PROP_CALENDAR_FORM, PROP_CHECK_RULE_FLOW, PROP_CHILD_DIMENSION_NODES, PROP_CONFLICT, PROP_CONFLICT_POLICY, PROP_CONNECTIVE, PROP_CONSTANT, PROP_CONSTRUCTOR, PROP_CONSTRUCTOR_TABLE, PROP_CREATION_UPDATE_NUMBER, PROP_CURSOR_POSITION, PROP_CUSTOM_BINDING, PROP_DATA_MODEL, PROP_DATA_SOURCE, PROP_DECISION_FUNCTION, PROP_DECISION_FUNCTION_ID, PROP_DECISION_FUNCTION_INPUT_TABLE, PROP_DECISION_FUNCTION_OUTPUT_TABLE, PROP_DECISION_FUNCTION_RULESET_TABLE, PROP_DECISION_FUNCTION_TABLE, PROP_DECISION_MODEL, PROP_DESCRIPTION, PROP_DF_FACT, PROP_DF_FACT_ID, PROP_DICT_LOADING_EXTENSION, PROP_DICTIONARY_LINK_TABLE, PROP_DIMENSION_NODE_TABLE, PROP_DIMENSION_TABLE, PROP_DISALLOW_ERROR_SUPPRESSION, PROP_DRAFT, PROP_DSL_ID, PROP_DSL_PARAMETER_TABLE, PROP_DSL_TABLE, PROP_DSL_VALUE, PROP_DT_ACTION_NODE_TABLE, PROP_DT_ACTION_PARAMETER_NAME, PROP_DTACTION_TABLE, PROP_DTRULE_TABLE, PROP_EFFECTIVE_END_DATE, PROP_EFFECTIVE_START_DATE, PROP_ENUM, PROP_ENUM_BUCKET_SET, PROP_ENUM_BUCKET_SET_ID, PROP_ENUM_TYPE, PROP_EXCEPTION_IDS, PROP_EXCEPTIONS, PROP_EXCLUDED, PROP_EXPECTED_TEST_OUTPUT_TABLE, PROP_EXPRESSION, PROP_EXPRESSION_TABLE, PROP_FACT_PATH, PROP_FACT_PATH_IDS, PROP_FACT_TABLE, PROP_FACT_TYPE, PROP_FACT_TYPE_ID, PROP_FACT_TYPE_IDS, PROP_FACT_TYPE_TABLE, PROP_FACT_TYPES, PROP_FIELD_TABLE, PROP_FINAL, PROP_FORM, PROP_FORMAL_PARAMETER_TABLE, PROP_FUNCTION, PROP_FUNCTION_ID, PROP_FUNCTION_SIGNATURE, PROP_FUNCTION_TABLE, PROP_GENERATED_FROM, PROP_GLOBAL_ALIAS, PROP_ID, PROP_INCLUDE_CHAINED_EXPR, PROP_INCLUDED, PROP_INTERFACE, PROP_INTERFACE_IDS, PROP_INTERFACES, PROP_IS_ABSTRACT, PROP_IS_CONSTANT, PROP_IS_ENUM, PROP_IS_FINAL, PROP_IS_JAXB2, PROP_IS_PRIMARY_KEY, PROP_IS_STATIC, PROP_IS_TOPLEVEL_VIEW_OBJECT, PROP_LEFT, PROP_LIFECYCLE, PROP_LIFECYCLE_DESCRIPTION, PROP_LINK_PATH, PROP_LIST, PROP_LIST_CONTENT_TYPE, PROP_LIST_CONTENT_TYPE_ID, PROP_LOCAL, PROP_LOGICAL, PROP_METHOD_TABLE, PROP_MODIFIERS, PROP_NAME, PROP_NAMESPACE, PROP_NESTED_TABLE, PROP_NO_CONFLICT, PROP_NO_RULE_FIRED_IS_ERROR, PROP_NODE_NAME, PROP_OPERATOR, PROP_OPERATOR_ID, PROP_ORDER_RULES_BY_BUCKET, PROP_OTHERWISE, PROP_OUTPUT_TYPES, PROP_OVERLOADED_PARAMETER_TABLE, PROP_OVERRIDDEN_BY, PROP_OVERRIDE, PROP_PACKAGE, PROP_PARAM, PROP_PARAM_EXPRESSION, PROP_PARAMETER_ALIAS, PROP_PARAMETER_ID, PROP_PARAMETER_LIST, PROP_PARAMETER_NAME, PROP_PARAMETER_REQUIRED, PROP_PARAMETER_TYPE_IDS, PROP_PARAMETER_TYPES, PROP_PARENT_DIMENSION_NODE, PROP_PATTERN_TABLE, PROP_PHRASE_SUGGESTION_FORM, PROP_PREFERENCES, PROP_PREFIX_LINKED_NAMES, PROP_PRIORITY, PROP_PRIVATE_BUCKET_SET, PROP_PROPERTIES, PROP_PROPERTY, PROP_PROPERTY_ID, PROP_PROPERTY_TABLE, PROP_PROPERTY_VALUE_TABLE, PROP_QUALIFIER_PATTERN, PROP_READABLE, PROP_REF_ID, PROP_REPORT_BYUSE_NAMES, PROP_REPORT_PATTERNS, PROP_RESOLVED_TARGET, PROP_RESOLVED_VALUE, PROP_RESOURCE_BUNDLE, PROP_RESTRICT_AUTO_SUGGESTIONS, PROP_RETURN_TYPE, PROP_RIGHT, PROP_RIGHT_SEPARATOR, PROP_RULE_EXEC_ALGORITHM, PROP_RULE_FIRING_LIMIT, PROP_RULE_FIRING_LIMIT_ERROR, PROP_RULE_REPORT_TABLE, PROP_RULE_SET_TABLE, PROP_RULE_SHEET_TABLE, PROP_RULE_TABLE, PROP_RULESET, PROP_RUN_AFTER, PROP_RUN_BEFORE, PROP_SERVICE_CONFIGURATION, PROP_SERVICE_NAME, PROP_SERVICE_NAMESPACE, PROP_SHARED_BUCKET_SET, PROP_SHARED_BUCKET_SET_ID, PROP_SHOW_CONSTANTS, PROP_SHOW_FUNCTIONS, PROP_SHOW_VARIABLES, PROP_SIMPLE_TEST_TABLE, PROP_SOURCE, PROP_STATELESS, PROP_STATIC, PROP_SUPER_CLASS, PROP_SUPER_CLASS_ID, PROP_SUPPORT_XPATH, PROP_SUPPORTS_XPATH_ENABLED, PROP_SYNC_MARK, PROP_SYSTEM, PROP_TARGET, PROP_TARGET_PACKAGE, PROP_TEST_CASE_TABLE, PROP_TEST_FORM, PROP_TEST_INPUT_TABLE, PROP_TEST_MODEL, PROP_TEST_RESULT_TABLE, PROP_TEST_SUITE_TABLE, PROP_TEST_TEMPLATE_TABLE, PROP_TIMESTAMP, PROP_TOKEN_UNDER_CURSOR, PROP_TRANSLATED_ALIAS, PROP_TRANSLATED_DESCRIPTION, PROP_TRANSLATED_GLOBAL_ALIAS, PROP_TRANSLATED_PARAMETER_LIST, PROP_TRANSLATED_QUALIFIER_PATTERN, PROP_TRANSLATED_VALUE, PROP_TRANSLATED_VARIABLE, PROP_TREE, PROP_TREE_MODE, PROP_TYPE, PROP_TYPE_ID, PROP_TYPE_IDS, PROP_TYPES, PROP_UNIQUE_RULESETS, PROP_UNSAVED_TRANSLATED_ALIAS, PROP_UNSAVED_TRANSLATED_DESCRIPTION, PROP_UNSAVED_TRANSLATED_GLOBAL_ALIAS, PROP_UNSAVED_TRANSLATED_QUALIFIER_PATTERN, PROP_UNSAVED_TRANSLATED_VALUE, PROP_UPDATE_NUMBER, PROP_UPDATE_TIME, PROP_VALIDATION, PROP_VALIDATION_UPDATE_NUMBER, PROP_VALUE, PROP_VALUES, PROP_VARIABLE, PROP_VARIABLE_TABLE, PROP_VERBAL_RULE_TABLE, PROP_VERSION, PROP_VERTICAL_ORIENTATION, PROP_VISIBILITY_FILTER, PROP_VISIBILITY_FILTER_ENABLED, PROP_VISIBLE, PROP_WEB_SERVICE, PROP_WRITABLE, PROP_XML_NAME -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidGeneric property getter (override).Get ActionTable Property.Get the DOIDs referenced by all directly or indirectly contained actions and expressionsgetAlias()Even though we extend UnnamedComponent, we need the variable name to translate expressions from persistent format (`ID`) to user format (name)getAlias(boolean translate) Get alias of DictionaryComponent.Get the DOIDs referenced by this component or contained componentsreturn a Choice list for testinggetExpression(int i) Shorthand for getExpressionTable.getExpression(i)getExpressionByParameterAlias(String parameterAlias) Get Expression from this action's expression table by parameter alias.getExpressionByParameterName(String parameterName) Get Expression from this action's expression table by parameter name.Get ExpressionTable Property.Get all ExprParsers that are directly or Indirectly referenced by this dictionary Object and its descendantsgetForm()Get What kind of action.String[]Get Form Property.intgetKind()A child calls this method in the parent to see if the data type is appropriate for the context of the parent.DOID[]A child calls this method in the parent to see if the data type is appropriate for the context of the parent.String[]Get the DOIDs referenced by this component (but not the contained components)Get SimpleTestTable Property.String[]getSurroundingFormChoices(List<Action> actions) static String[]getSurroundingFormOptions(List<Action> actions) static String[]getSurroundingFormOptions(List<Action> actions, boolean translate) String[]Get Target Property.Internal Use Only.intgetValue()Gets the Value of the RuleComponentGet the Value Property.Get Variable Property.booleancan this action's actionTable contain actions?booleanDoes this form of action have a target?inScopeVariables(boolean includeAggregates, VariableScope.ExprLocation direction) By default, pass the request to the containerbooleanbooleanisDraft()Is this Component a Draft?booleanA child calls this method in the parent to see if it must have a value !Generic property setter.voidSet What kind of action.voidvoidsetValue(VerbalChoice value) Sets the Value of the RuleComponentvoidvoidsetVariableRL(int varNum) voidsetVariableRL(String name) Returns a list of VerbalChoices filtered by the pattern.suggestGenericChoices(String pattern) Get the list of Generic Verbal Choices based on this pattern.static Actionvoidvalidate(List<SDKException> errors, List<SDKWarning> warnings) Validate and append errors and warnings.Methods inherited from class oracle.rules.sdk2.ruleset.UnnamedRuleComponent
getDiffMatchValue, init, isAliasDistinct, isNameDistinctMethods inherited from class oracle.rules.sdk2.ruleset.RuleComponent
get, getParent, getParentTable, getParentVariableScope, inScopeVariables, parentActionContext, parentAutoBindingContext, parentFunction, parentPattern, parentRule, parentRuleBase, parentRuleCommon, parentRuleSheet, parentTest, parentVariable, parentVerbalRule, RHSRuleVariables, toString, toStringMethods inherited from class oracle.rules.sdk2.dictionary.DictionaryComponent
_get, _put, clear, containsKey, containsValue, entrySet, forceSync, getAlias, getAlias, getAliasProperty, getContainedDiffs, getCustom, getDependents, getDescription, getDescription, getDescriptionProperty, getDiff, getDiffProperties, getDiffs, getFullyQualifiedAlias, getFullyQualifiedName, getIndex, getIndex, getName, getNameProperty, getNext, getNext, getObjectPath, getOptions, getPrevious, getPrevious, getProperties, getProperty, getSelected, getTranslatedAlias, getTranslatedAlias, getTranslatedDescription, hasConflict, hasDiff, init, isEmpty, isFullyQualifiedName, isModifiable, isSystemProperty, isUnsavedTranslatedAlias, isUnsavedTranslatedDescription, keySet, putAll, remove, removeDiff, setAlias, setAlias, setCustom, setDescription, setDescription, setName, setTranslatedAlias, setTranslatedDescription, size, validate, valuesMethods inherited from class oracle.rules.sdk2.dictionary.DictionaryObject
_clearID, equals, exists, getAEReferenceCount, getCombinedDataModel, getContainedIDs, getContainedIDs, getDataModel, getDictionary, getID, getIndent, getObjectType, getParentByClass, getParentComponent, getParentComponentTable, getParentObject, getRuleSet, getState, getWarnings, hashCode, isModified, setID, validate, validateMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllMethods inherited from interface oracle.rules.sdk2.ruleset.ScopedVariable
getIDMethods inherited from interface oracle.rules.sdk2.dictionary.UnnamedComponent
getName, setAlias, setName
-
Field Details
-
FORM_DEFAULT
- See Also:
-
FORM_ASSERT
- See Also:
-
FORM_ASSERT_TREE
- See Also:
-
FORM_ASSERT_NEW
- See Also:
-
FORM_ASSIGN
- See Also:
-
FORM_CALL
- See Also:
-
FORM_RETRACT
- See Also:
-
FORM_RL
- See Also:
-
FORM_ASSIGN_NEW
- See Also:
-
FORM_EXPRESSION
- See Also:
-
FORM_IF
- See Also:
-
FORM_ELSE
- See Also:
-
FORM_ELSE_IF
- See Also:
-
FORM_THROW
- See Also:
-
FORM_CATCH
- See Also:
-
FORM_TRY
- See Also:
-
FORM_FINALLY
- See Also:
-
FORM_FOR
- See Also:
-
FORM_MODIFY
- See Also:
-
FORM_WHILE
- See Also:
-
FORM_RETURN
- See Also:
-
FORM_SYNCHRONIZED
- See Also:
-
FORM_IF_TEST
- See Also:
-
FORM_ELSE_IF_TEST
- See Also:
-
FORM_WHILE_TEST
- See Also:
-
FORM_DSL
- See Also:
-
FORM_BASIC
- See Also:
-
FORM_TEST
- See Also:
-
FORM_ADVANCED
- See Also:
-
KEYWORD_THEN
- See Also:
-
KEYWORD_DO
- See Also:
-
VERBAL_ASSERT_NEW
- See Also:
-
VERBAL_RETRACT
- See Also:
-
-
Method Details
-
desurround
public void desurround() -
surround
-
surround
-
getSurroundingFormOptions
-
getSurroundingFormOptions
-
getSurroundingFormChoices
-
put
Description copied from class:DictionaryComponentGeneric property setter. Throws runtime exceptions for incorrect arguments. Please see the specific bean class for a list of properties, their types, and permissible values.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.
-
getBeansResultSet
return a Choice list for testing -
computeExpressionTable
public void computeExpressionTable() -
getMatchTypeIDs
Description copied from interface:ExpressionContextA child calls this method in the parent to see if the data type is appropriate for the context of the parent. Example, in the expression x == y, the Expression y asks its parent the type of x and the operator used between the two- Specified by:
getMatchTypeIDsin interfaceExpressionContext
-
getMatchOp
Description copied from interface:ExpressionContextA child calls this method in the parent to see if the data type is appropriate for the context of the parent. Example, in the expression x == y, the Expression y asks its parent the type of x and the operator used between the two- Specified by:
getMatchOpin interfaceExpressionContext
-
isValueRequired
Description copied from interface:ExpressionContextA child calls this method in the parent to see if it must have a value != ""- Specified by:
isValueRequiredin interfaceExpressionContext
-
hasNestedActions
public boolean hasNestedActions()can this action's actionTable contain actions?- Returns:
- boolean
-
validate
Description copied from class:DictionaryComponentValidate and append errors and warnings.- Overrides:
validatein classDictionaryComponent<Action>- Parameters:
errors- a List of error exceptions to append to.warnings- a List of warning exceptions to append to.- See Also:
-
getVariableRL
- Specified by:
getVariableRLin interfaceScopedVariable
-
getExpression
Shorthand for getExpressionTable.getExpression(i)- Parameters:
i- ordinal of Expression to retrieve from ExpressionTable- Returns:
- Expression
- Throws:
IndexOutOfBoundsException
-
getExpressionByParameterName
Get Expression from this action's expression table by parameter name.- Parameters:
parameterName- name of parameter- Returns:
- Expression corresponding to value of named parameter, or null if no such parameter.
-
getExpressionByParameterAlias
Get Expression from this action's expression table by parameter alias.- Parameters:
parameterAlias- alias of parameter- Returns:
- Expression corresponding to value of named parameter, or null if no such parameter.
-
getPropertyNames
- Specified by:
getPropertyNamesin interfaceUnnamedComponent- Overrides:
getPropertyNamesin classUnnamedRuleComponent<Action>- Returns:
- Array of property names available.
-
getStoredPropertyNames
- Overrides:
getStoredPropertyNamesin classUnnamedRuleComponent<Action>- Returns:
- Array of property names which are persisted in the order in which they appear in the schema.
-
getFormProperty
Get Form Property.- Returns:
- FormProperty
-
getForm
Get What kind of action.see FORM_ above -
setForm
Set What kind of action.see FORM_ above -
getFormOptions
-
getFormSelected
public int getFormSelected() -
getTargetProperty
Get Target Property.- Returns:
- ChoosableProperty
-
getTarget
-
setTarget
-
getTargetOptions
-
getTargetSelected
public int getTargetSelected() -
getExpressionTableProperty
Get ExpressionTable Property.- Returns:
- Expression TableProperty
-
getExpressionTable
-
getActionTableProperty
Get ActionTable Property.- Returns:
- Action TableProperty
-
getActionTable
-
getVariableProperty
Get Variable Property.- Returns:
- string SettableProperty
-
getVariable
-
setVariable
-
getSimpleTestTableProperty
Get SimpleTestTable Property.- Returns:
- SimpleTest TableProperty
-
getSimpleTestTable
-
getAlias
Even though we extend UnnamedComponent, we need the variable name to translate expressions from persistent format (`ID`) to user format (name)- Specified by:
getAliasin interfaceUnnamedComponent- Overrides:
getAliasin classDictionaryComponent<Action>- Returns:
- the name of the target variable
-
getAlias
Description copied from class:DictionaryComponentGet alias of DictionaryComponent.- Specified by:
getAliasin interfaceScopedVariable- Overrides:
getAliasin classDictionaryComponent<Action>- Parameters:
translate- whether to get the translated alias- Returns:
- translated alias of the dictionary component, or alias if translation does not exist
-
get
Generic property getter (override).get TARGET must convert from persistent to user format
-
isDraft
public boolean isDraft()Description copied from interface:VerbalRuleComponentIs this Component a Draft?- Specified by:
isDraftin interfaceVerbalRuleComponent- Returns:
- true if the component is a Draft, false otherwise
-
getFactTypeID
- Specified by:
getFactTypeIDin interfaceScopedVariable- Returns:
- FactType ID of Target
-
getTargetID
-
getTargetRL
Internal Use Only. Get RL for target "expression"- Returns:
- String RL
-
hasTarget
public boolean hasTarget()Does this form of action have a target?- Returns:
- boolean flag
-
inScopeVariables
public List<ScopedVariable> inScopeVariables(boolean includeAggregates, VariableScope.ExprLocation direction) Description copied from class:RuleComponentBy default, pass the request to the container- Specified by:
inScopeVariablesin interfaceVariableScope- Overrides:
inScopeVariablesin classRuleComponent<Action>
-
setVariableRL
- Specified by:
setVariableRLin interfaceScopedVariable
-
setVariableRL
public void setVariableRL(int varNum) - Specified by:
setVariableRLin interfaceScopedVariable
-
isAssignable
public boolean isAssignable()- Specified by:
isAssignablein interfaceScopedVariable
-
getKind
- Specified by:
getKindin interfaceScopedVariable
-
getReferences
Description copied from class:DictionaryComponentGet the DOIDs referenced by this component (but not the contained components)- Overrides:
getReferencesin classDictionaryComponent<Action>- Returns:
- list of the DOIDs
-
getAEReferences
Description copied from class:DictionaryComponentGet the DOIDs referenced by all directly or indirectly contained actions and expressions- Overrides:
getAEReferencesin classDictionaryComponent<Action>- Returns:
- list of the DOIDs
-
getAllReferences
Description copied from class:DictionaryComponentGet the DOIDs referenced by this component or contained components- Overrides:
getAllReferencesin classDictionaryComponent<Action>- Returns:
- list of the DOIDs
-
getExprParserReferences
Description copied from class:DictionaryComponentGet all ExprParsers that are directly or Indirectly referenced by this dictionary Object and its descendants- Overrides:
getExprParserReferencesin classDictionaryComponent<Action>- Returns:
- Collection of Expression Parsers
-
parentAction
- Overrides:
parentActionin classRuleComponent<Action>
-
getValueProperty
Description copied from interface:VerbalRuleComponentGet the Value Property.- Specified by:
getValuePropertyin interfaceVerbalRuleComponent- Returns:
- VerbalProperty
-
suggest
Returns a list of VerbalChoices filtered by the pattern.- Specified by:
suggestin interfaceVerbalRuleComponent- Parameters:
pattern- to filter the Verbal choices by.paged- true if choices are to be paged- Returns:
- A list of filtered Verbal choices
-
setValue
Sets the Value of the RuleComponent- Specified by:
setValuein interfaceVerbalRuleComponent- Parameters:
value- VerbalChoice
-
getValue
Description copied from interface:VerbalRuleComponentGets the Value of the RuleComponent- Specified by:
getValuein interfaceVerbalRuleComponent- Returns:
- VerbalChoice
-
suggestGenericChoices
Description copied from interface:VerbalRuleComponentGet the list of Generic Verbal Choices based on this pattern. These choices would be used in case the pattern does not match any of the choices that are pre-computed or derived from DSLs.- Specified by:
suggestGenericChoicesin interfaceVerbalRuleComponent- Parameters:
pattern- search pattern- Returns:
- A list of generic Verbal Choices provided by this component
-