Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbRequestDbSpecialDataGroups"

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;">
ListTerm = DiagDataBrowsingPlus.GetDbRequestDbSpecialDataGroups(DbRequestTerm);
+
/// Local Declarations
 +
List<DiagDataBrowsingPlus.DbSpecialDataGroup> ListVariable;
 +
/// Flow
 +
ListVariable = DiagDataBrowsingPlus.GetDbRequestDbSpecialDataGroups(DbRequestTerm);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 18: Line 21:
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie2| dbRequest| [[Extensions.DiagDataBrowsingPlus.DbRequest|DbRequest]] | [[Term]] | - | [1..1] |The element addresses the '''DbRequest''' which SDGs shall be returned.}}
+
{{TableRowPropertie2| DbRequest| [[Extensions.DiagDataBrowsingPlus.DbRequest|DbRequest]] | [[Term]] | - | [1..1] |The element addresses the '''DbRequest''' which SDGs shall be returned.}}
 
|}
 
|}
  
 
== OTL Examples ==
 
== OTL Examples ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 +
/// Local Declarations
 +
 
DiagCom.Request Request;
 
DiagCom.Request Request;
 
DiagDataBrowsingPlus.DbRequest DbRequest;
 
DiagDataBrowsingPlus.DbRequest DbRequest;

Revision as of 08:15, 24 October 2018

Classification

Name GetDbRequestDbSpecialDataGroups
Short Description Gets the special data groups of the DbRequest
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group DbSpecialDataGroup related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

/// Local Declarations
List<DiagDataBrowsingPlus.DbSpecialDataGroup> ListVariable;
/// Flow
ListVariable = DiagDataBrowsingPlus.GetDbRequestDbSpecialDataGroups(DbRequestTerm);

Description

GetDbRequestDbSpecialDataGroups returns a list of DbSpecialDataGroup (SDG) of the DbRequest. An empty list can be returned if no SDG are available.

Icons Note.png NOTE — The appropriate MVCI system operation is MCDDbRequest::getDbSDGs

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 a list of DbSpecialDataGroup (SDG) of the DbRequest.

Properties

Name Data Type Class Default Cardinality Description
DbRequest DbRequest Term - [1..1] The element addresses the DbRequest which SDGs shall be returned.

OTL Examples

/// Local Declarations

DiagCom.Request Request;
DiagDataBrowsingPlus.DbRequest DbRequest;
List<DiagDataBrowsingPlus.DbSpecialDataGroup> List_DbSpecialDataGroup;

/// Flow

Request = DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "DiagnServi_ReadDataByIdentActuaTestStatu"));
DbRequest = DiagDataBrowsingPlus.GetRequestDbRequest(Request);
List_DbSpecialDataGroup = DiagDataBrowsingPlus.GetDbRequestDbSpecialDataGroups(DbRequest);

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetRequest
GetRequestDbRequest