Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbRequestDbParameters"

From emotive
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
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.GetDbRequestDbParameters(DbRequestTerm dbRequest);
List<DiagDataBrowsingPlus.DbParameter> ListVariable;
 
/// Flow
 
ListVariable = DiagDataBrowsingPlus.GetDbRequestDbParameters(DbRequestTerm);
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 14: Line 11:
 
'''GetDbRequestDbParameters''' returns a [[Core.DataTypes.ComplexDataType.ContainerDataType.List|list]] of [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] objects which represents the MCDDbRequestParameters for the given [[Extensions.DiagDataBrowsingPlus.DbRequest|DbRequest]]. An empty list can be returned, if no request parameters are defined for the request in the project's data base.
 
'''GetDbRequestDbParameters''' returns a [[Core.DataTypes.ComplexDataType.ContainerDataType.List|list]] of [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] objects which represents the MCDDbRequestParameters for the given [[Extensions.DiagDataBrowsingPlus.DbRequest|DbRequest]]. An empty list can be returned, if no request parameters are defined for the request in the project's data base.
  
{{Note|NOTE — The appropriate MVCI system operation is MCDDbRequest::getDbRequestParameters}}
+
{{Note|The appropriate MVCI system operation is MCDDbRequest::getDbRequestParameters}}
  
 
{{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Returns a list of [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] objects which represents the MCDDbRequestParameters for the given [[Extensions.DiagDataBrowsingPlus.DbRequest|DbRequest]].}}
 
{{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Returns a list of [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] objects which represents the MCDDbRequestParameters for the given [[Extensions.DiagDataBrowsingPlus.DbRequest|DbRequest]].}}
Line 21: Line 18:
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie2| dbRequest| [[Extensions.DiagDataBrowsingPlus.DbRequest|DbRequest]] | [[Term]] | - | [1..1] |The element addresses the '''DbRequest''' which [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] shall be returned.}}
+
{{TableRowPropertie2| DbRequest| [[Extensions.DiagDataBrowsingPlus.DbRequest|DbRequest]] | [[Term]] | - | [1..1] |The element addresses the '''DbRequest''' which [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] shall be returned.}}
 
|}
 
|}
  

Latest revision as of 08:52, 2 November 2018

Classification

Name GetDbRequestDbParameters
Short Description Gets the DbParameter of the DbRequest
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group DbRequest related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

ListTerm DiagDataBrowsingPlus.GetDbRequestDbParameters(DbRequestTerm dbRequest);

Description

GetDbRequestDbParameters returns a list of DbParameter objects which represents the MCDDbRequestParameters for the given DbRequest. An empty list can be returned, if no request parameters are defined for the request in the project's data base.

Icons Note.png The appropriate MVCI system operation is MCDDbRequest::getDbRequestParameters

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 DbParameter objects which represents the MCDDbRequestParameters for the given DbRequest.

Properties

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

OTL Examples

/// Local Declarations

DiagCom.ComChannel ComChannel;
DiagCom.DiagService DiagService;
DiagDataBrowsingPlus.DbDiagService DbDiagService;
DiagDataBrowsingPlus.DbRequest DbRequest;
List<DiagDataBrowsingPlus.DbParameter> List_DbParameter;
		
/// Flow

ComChannel = DiagCom.GetComChannel("LL_CentrElectUDS", "EV_BCMCONTI_009", false);
DiagService = DiagCom.CreateDiagServiceByName(ComChannel, "DiagnServi_WriteMemorByAddreMCD20001");
DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService);
DbRequest = DiagDataBrowsingPlus.GetDbDiagServiceDbRequest(DbDiagService);
List_DbParameter = DiagDataBrowsingPlus.GetDbRequestDbParameters(DbRequest);

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetDiagServiceDbDiagService
GetDbDiagServiceDbRequest
GetRequest