Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbParameterTextTableElements"

From emotive
Jump to navigation Jump to search
 
Line 5: Line 5:
 
== OTL Syntax ==
 
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
/// Local Declarations
+
ListTerm DiagDataBrowsingPlus.GetDbParameterTextTableElements(DbParameterTerm dbParameter);
List<DiagDataBrowsingPlus.TextTableElement> ListVariable;
 
/// Flow
 
ListVariable = DiagDataBrowsingPlus.GetDbParameterTextTableElements(DbParameterTerm);
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 16: Line 13:
 
If the [[Extensions.DiagCom.Parameter|parameter]] is not a text table, the  [[Extensions.DiagDataBrowsingPlus.InvalidTypeException|InvalidTypeException]] exception will be thrown.
 
If the [[Extensions.DiagCom.Parameter|parameter]] is not a text table, the  [[Extensions.DiagDataBrowsingPlus.InvalidTypeException|InvalidTypeException]] exception will be thrown.
  
{{Note|NOTE — The appropriate MVCI system operation is MCDDbParameter::getTextTableElements}}
+
{{Note|The appropriate MVCI system operation is MCDDbParameter::getTextTableElements}}
  
 
{{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Returns all table entries of the [[Extensions.DiagCom.Parameter|parameter]].}}
 
{{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Returns all table entries of the [[Extensions.DiagCom.Parameter|parameter]].}}

Latest revision as of 08:26, 2 November 2018

Classification

Name GetDbParameterTextTableElements
Short Description Gets the text table elements of the DbParameter
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group TextTableElement related terms
Exceptions InvalidTypeException
Checker Rules -
Standard Compliant Yes

OTL Syntax

ListTerm DiagDataBrowsingPlus.GetDbParameterTextTableElements(DbParameterTerm dbParameter);

Description

GetDbParameterTextTableElements returns all table entries of the parameter, as a List of DbTextTableElements.

If the parameter is not a text table, the InvalidTypeException exception will be thrown.

Icons Note.png The appropriate MVCI system operation is MCDDbParameter::getTextTableElements

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
List Returns all table entries of the parameter.

Properties

Name Data Type Class Default Cardinality Description
DbParameter DbParameter Term - [1..1] The element addresses the DbParameter (MCDDbParameter) which text table elements it is constant or not.

OTL Examples

/// Local Declarations

DiagCom.Parameter Parameter;
DiagDataBrowsingPlus.DbParameter DbParameter;
List<DiagDataBrowsingPlus.TextTableElement> List_TextTableElement;

/// Flow

Parameter = DiagCom.GetParameterByPath(DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "DiagnServi_ReadDataByIdentECUIdent")), {"Param_RecorDataIdent"});
DbParameter = DiagDataBrowsingPlus.GetParameterDbParameter(Parameter);
List_TextTableElement = DiagDataBrowsingPlus.GetDbParameterTextTableElements(DbParameter);

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
ExecuteDiagService
GetFirstResponse
GetRequest
GetParameterByPath
GetParameterBySemantic
GetParameterDbParameter