Difference between revisions of "Extensions.Job.AddElement"

From emotive
Jump to navigation Jump to search
(Created page with "== Classification == {{ClassificationActivity | AddElement | Add parameters or parameter structure | Action | OTX Job extension | Job related actions | TypeM...")
 
Line 1: Line 1:
 
== Classification ==
 
== Classification ==
 
{{ClassificationActivity | AddElement | Add parameters or parameter structure | [[Action]] | [[Job|OTX Job extension]] | [[Job related actions]] | [[TypeMismatchException]] | - }}
 
{{ClassificationActivity | AddElement | Add parameters or parameter structure | [[Action]] | [[Job|OTX Job extension]] | [[Job related actions]] | [[TypeMismatchException]] | - }}
 +
 +
== OTL Syntax ==
 +
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 +
Job.AddElement(ParameterContainer, ParameterContainer);
 +
</syntaxhighlight>
  
 
== Description ==
 
== Description ==
Line 11: Line 16:
 
{{TableRowPropertie2| Content | [[ParameterContainer]] | [[Term]] | - | [0..1] | The item (s) is added to the parameter container.}}
 
{{TableRowPropertie2| Content | [[ParameterContainer]] | [[Term]] | - | [0..1] | The item (s) is added to the parameter container.}}
 
|}
 
|}
 +
 +
== OTL Examples ==
 +
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 +
DiagCom.Request ParameterContainer1;
 +
 +
Job.AddElement(ParameterContainer1, ParameterContainer1);
 +
</syntaxhighlight>
  
 
== See also ==
 
== See also ==

Revision as of 07:30, 11 February 2015

Classification

Name AddElement
Short Description Add parameters or parameter structure
Class Action
Extension OTX Job extension
Group Job related actions
Exceptions TypeMismatchException
Checker Rules -
Standard Compliant Yes

OTL Syntax

Job.AddElement(ParameterContainer, ParameterContainer);

Description

AddElement is used to add a parameter or a parameter structure to a point in a response structure.

Properties

Name Data Type Class Default Cardinality Description
ParameterContainer ParameterContainer Term - [1] The parameters in which new element (s) to be added.
Content ParameterContainer Term - [0..1] The item (s) is added to the parameter container.

OTL Examples

DiagCom.Request ParameterContainer1;

Job.AddElement(ParameterContainer1, ParameterContainer1);

See also

SendFinalResult
SendIntermediateResult
SetJobInfo
SetProgressInfo
AddBranchByName
AddBranchByIndex
AddBranchByValue
AddEnvDataByDtc