Difference between revisions of "Extensions.Job.AddBranchByIndex"

From emotive
Jump to navigation Jump to search
Line 1: Line 1:
 
== Classification ==
 
== Classification ==
 
{{ClassificationActivity | AddBranchByIndex | Adds a set of response parameters by index | [[Action]] | [[Job|OTX Job extension]] | [[Job related actions]] | [[TypeMismatchException]]<br/>[[OutOfBoundsException]] | - }}
 
{{ClassificationActivity | AddBranchByIndex | Adds a set of response parameters by index | [[Action]] | [[Job|OTX Job extension]] | [[Job related actions]] | [[TypeMismatchException]]<br/>[[OutOfBoundsException]] | - }}
 +
 +
== OTL Syntax ==
 +
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 +
Job.AddBranchByIndex(ParameterContainer, ParameterContainer, IntegerTerm);
 +
</syntaxhighlight>
  
 
== Description ==
 
== Description ==
Line 12: Line 17:
 
{{TableRowPropertie1| Content | [[ParameterContainer]] | [[Term]] | - | [0..1] | The element that is placed in the newly created branch multiplexer}}
 
{{TableRowPropertie1| Content | [[ParameterContainer]] | [[Term]] | - | [0..1] | The element that is placed in the newly created branch multiplexer}}
 
|}
 
|}
 +
 +
== OTL Examples ==
 +
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 +
DiagCom.Request ParameterContainer1;
 +
 +
Job.AddBranchByIndex(ParameterContainer1, ParameterContainer1, 0);
 +
</syntaxhighlight>
  
 
== See also ==
 
== See also ==

Revision as of 07:43, 11 February 2015

Classification

Name AddBranchByIndex
Short Description Adds a set of response parameters by index
Class Action
Extension OTX Job extension
Group Job related actions
Exceptions TypeMismatchException
OutOfBoundsException
Checker Rules -
Standard Compliant Yes

OTL Syntax

Job.AddBranchByIndex(ParameterContainer, ParameterContainer, IntegerTerm);

Description

AddBranchByIndex is used to add a number of parameters Response to Response structure according to the definition of a database by its index multiplexer.

Properties

Name Data Type Class Default Cardinality Description
ParameterContainer ParameterContainer Term - [1] The parameters in which new element (s) to be added.
Index Integer Term - [0..1] The index of the multiplexer branch is added to the
Content ParameterContainer Term - [0..1] The element that is placed in the newly created branch multiplexer

OTL Examples

DiagCom.Request ParameterContainer1;

Job.AddBranchByIndex(ParameterContainer1, ParameterContainer1, 0);

See also

SendFinalResult
SendIntermediateResult
SetJobInfo
SetProgressInfo
AddElement
AddBranchByName
AddBranchByValue
AddEnvDataByDtc