Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbParameterTextTableElements"
Jump to navigation
Jump to search
(Created page with "{{DISPLAYTITLE:OTX '''GetDbParameterTextTableElements'''}}Category:DiagDataBrowsingPlus == Classification == {{ClassificationActivity | GetDbParameterTextTableElements | U...") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:OTX '''GetDbParameterTextTableElements'''}}[[Category:DiagDataBrowsingPlus]] | {{DISPLAYTITLE:OTX '''GetDbParameterTextTableElements'''}}[[Category:DiagDataBrowsingPlus]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetDbParameterTextTableElements | | + | {{ClassificationActivity | GetDbParameterTextTableElements| Gets the text table elements of the [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]]| [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus#Terms|TextTableElement related terms]] | [[Extensions.DiagDataBrowsingPlus.InvalidTypeException|InvalidTypeException]] | - }} |
== OTL Syntax == | == OTL Syntax == | ||
− | |||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | ListTerm DiagDataBrowsingPlus.GetDbParameterTextTableElements(DbParameterTerm dbParameter); | |
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
== Description == | == Description == | ||
− | + | '''GetDbParameterTextTableElements''' returns all table entries of the [[Extensions.DiagCom.Parameter|parameter]], as a [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] of DbTextTableElements. | |
− | + | ||
− | {{ | + | If the [[Extensions.DiagCom.Parameter|parameter]] is not a text table, the [[Extensions.DiagDataBrowsingPlus.InvalidTypeException|InvalidTypeException]] exception will be thrown. |
− | {{ | + | |
− | + | {{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]].}} | ||
== Properties == | == Properties == | ||
− | |||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{ | + | {{TableRowPropertie2| DbParameter|[[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] | [[Term]] | - | [1..1] |The element addresses the '''DbParameter''' (MCDDbParameter) which text table elements it is constant or not.}} |
|} | |} | ||
− | |||
== OTL Examples == | == OTL Examples == | ||
− | |||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | DiagCom. | + | /// 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); | |
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
== See also == | == See also == | ||
− | + | [[Extensions.DiagCom.GetComChannel|GetComChannel]] <br/> | |
+ | [[Extensions.DiagCom.CreateDiagServiceByName|CreateDiagServiceByName]] <br/> | ||
+ | [[Extensions.DiagCom.CreateDiagServiceBySemantic|CreateDiagServiceBySemantic]] <br/> | ||
+ | [[Extensions.DiagCom.ExecuteDiagService|ExecuteDiagService]] <br/> | ||
+ | [[Extensions.DiagCom.GetFirstResponse|GetFirstResponse]] <br/> | ||
+ | [[Extensions.DiagCom.GetRequest|GetRequest]] <br/> | ||
+ | [[Extensions.DiagCom.GetParameterByPath|GetParameterByPath]] <br/> | ||
+ | [[Extensions.DiagCom.GetParameterBySemantic|GetParameterBySemantic]] <br/> | ||
+ | [[Extensions.DiagDataBrowsingPlus.GetParameterDbParameter|GetParameterDbParameter]] |
Latest revision as of 08:26, 2 November 2018
Contents
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.
![]()
The appropriate MVCI system operation is MCDDbParameter::getTextTableElements
Return Value
The Term returns the value, see table below.
![]()
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