Difference between revisions of "Extensions.DiagDataBrowsingPlus.IsTextTableParameter"

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
+
BooleanTerm DiagDataBrowsingPlus.IsTextTableParameter(ParameterTerm parameter);
Boolean BooleanVariable;
 
/// Flow
 
BooleanVariable = DiagDataBrowsingPlus.IsTextTableParameter(ParameterTerm);
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 14: Line 11:
 
'''IsTextTableParameter''' returns True whether the value of this [[Extensions.DiagCom.Parameter|diag:Parameter]] is of data type TextTable (eTEXTTABLE). In all other cases it returns False.
 
'''IsTextTableParameter''' returns True whether the value of this [[Extensions.DiagCom.Parameter|diag:Parameter]] is of data type TextTable (eTEXTTABLE). In all other cases it returns False.
  
{{Note|NOTE — The appropriate MVCI system operation is MCDParameter::getDataType}}
+
{{Note|The appropriate MVCI system operation is MCDParameter::getDataType}}
  
{{Note|NOTE — This term is introduced to complete the existing terms in the [[Extensions.DiagDataBrowsing|DiagDataBrowsing extension]] (ISO 13209 Part-3 [3]) that uses ParameterTerms. This completion primarily enables a generically interpretation of responses by using runtime [[Extensions.DiagCom.Parameter|parameters]] without using [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameters]].}}
+
{{Note|This term is introduced to complete the existing terms in the [[Extensions.DiagDataBrowsing|DiagDataBrowsing extension]] (ISO 13209 Part-3 [3]) that uses ParameterTerms. This completion primarily enables a generically interpretation of responses by using runtime [[Extensions.DiagCom.Parameter|parameters]] without using [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameters]].}}
  
 
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.Boolean|Boolean]] | Returns True whether the value of this [[Extensions.DiagCom.Parameter|diag:Parameter]] is of data type TextTable (eTEXTTABLE).}}
 
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.Boolean|Boolean]] | Returns True whether the value of this [[Extensions.DiagCom.Parameter|diag:Parameter]] is of data type TextTable (eTEXTTABLE).}}

Latest revision as of 08:25, 2 November 2018

Classification

Name IsTextTableParameter
Short Description Checks whether the diag:Parameter is of data type TextTable or not
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group Parameter related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

BooleanTerm DiagDataBrowsingPlus.IsTextTableParameter(ParameterTerm parameter);

Description

IsTextTableParameter returns True whether the value of this diag:Parameter is of data type TextTable (eTEXTTABLE). In all other cases it returns False.

Icons Note.png The appropriate MVCI system operation is MCDParameter::getDataType
Icons Note.png This term is introduced to complete the existing terms in the DiagDataBrowsing extension (ISO 13209 Part-3 [3]) that uses ParameterTerms. This completion primarily enables a generically interpretation of responses by using runtime parameters without using DbParameters.

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
Boolean Returns True whether the value of this diag:Parameter is of data type TextTable (eTEXTTABLE).

Properties

Name Data Type Class Default Cardinality Description
Parameter Parameter Term - [1..1] The element addresses the diag:Parameter (MCDParameter) which is checked whether it is of data type TextTable or not.

OTL Examples

/// Local Declarations

DiagCom.Parameter Parameter;
Boolean MyBoolean;

/// Flow

Parameter = DiagCom.GetParameterByPath(DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "DiagnServi_ReadDataByIdentECUIdent")), {"Param_RecorDataIdent"});
MyBoolean = DiagDataBrowsingPlus.IsTextTableParameter(Parameter);

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
ExecuteDiagService
GetFirstResponse
GetRequest
GetParameterByPath
GetParameterBySemantic