Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbDiagServiceDbFunctionalClasses"

From emotive
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:OTX '''GetDbDiagServiceDbFunctionalClasses'''}}[[Category:DiagDataBrowsingPlus]]
 
{{DISPLAYTITLE:OTX '''GetDbDiagServiceDbFunctionalClasses'''}}[[Category:DiagDataBrowsingPlus]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | GetDbDiagServiceDbFunctionalClasses | Is a user defined collection of Diagnostic Services| [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus|DbDiagService related terms]] | NONE | -}}
+
{{ClassificationActivity | GetDbDiagServiceDbFunctionalClasses | Gets the functional classes of the [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus#Terms|DbDiagService related terms]] | NONE | -}}
  
 
== OTL Syntax ==
 
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
ListTerm = DiagDataBrowsingPlus.GetDbDiagServiceDbFunctionalClasses(DbDiagServiceTerm);
+
ListTerm DiagDataBrowsingPlus.GetDbDiagServiceDbFunctionalClasses(DbDiagServiceTerm dbDiagService);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
  
 
== Description ==
 
== Description ==
'''GetDbDiagServiceDbFunctionalClasses''' returns a list of String of names of '''DbFunctionalClasses''' the [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] is assigned within the project's data bases. A Functional Class is a user defined collection of Diagnostic Services. It can for example be used to separate Services with different tasks. The length of the list is zero, if the [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] is not assigned with a Functional Class in the project's data bases.
+
'''GetDbDiagServiceDbFunctionalClasses''' returns a [[Core.DataTypes.ComplexDataType.ContainerDataType.List|list]] of [[Core.DataTypes.SimpleDataType.String|String]] of names of '''DbFunctionalClasses''' the [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] is assigned within the project's data bases. A Functional Class is a user defined collection of Diagnostic Services. It can for example be used to separate Services with different tasks. The length of the list is zero, if the [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] is not assigned with a Functional Class in the project's data bases.
  
{{Note|NOTE — The appropriate MVCI system operation is MCDDbDiagComPrimitive::getDbFunctionalClasses}}
+
{{Note|The appropriate MVCI system operation is MCDDbDiagComPrimitive::getDbFunctionalClasses}}
  
{{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Returns a list of String of names of '''DbFunctionalClasses''' the [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] is assigned within the project's data bases}}
+
{{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Returns a list of [[Core.DataTypes.SimpleDataType.String|String]] of names of '''DbFunctionalClasses''' the [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] is assigned within the project's data bases}}
  
 
== Properties ==
 
== Properties ==
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| dbDiagService | [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] | [[Term]] | - | [1..1] | The element addresses the [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] whose functional classes shall be returned.}}
+
{{TableRowPropertie2| DbDiagService | [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] | [[Term]] | - | [1..1] | The element addresses the '''DbDiagService''' whose functional classes 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.ComChannel ComChannel;
 
DiagCom.ComChannel ComChannel;
 
DiagCom.DiagService DiagService;
 
DiagCom.DiagService DiagService;

Latest revision as of 09:14, 2 November 2018

Classification

Name GetDbDiagServiceDbFunctionalClasses
Short Description Gets the functional classes of the DbDiagService
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group DbDiagService related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

ListTerm DiagDataBrowsingPlus.GetDbDiagServiceDbFunctionalClasses(DbDiagServiceTerm dbDiagService);


Description

GetDbDiagServiceDbFunctionalClasses returns a list of String of names of DbFunctionalClasses the DbDiagService is assigned within the project's data bases. A Functional Class is a user defined collection of Diagnostic Services. It can for example be used to separate Services with different tasks. The length of the list is zero, if the DbDiagService is not assigned with a Functional Class in the project's data bases.

Icons Note.png The appropriate MVCI system operation is MCDDbDiagComPrimitive::getDbFunctionalClasses

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 String of names of DbFunctionalClasses the DbDiagService is assigned within the project's data bases

Properties

Name Data Type Class Default Cardinality Description
DbDiagService DbDiagService Term - [1..1] The element addresses the DbDiagService whose functional classes shall be returned.

OTL Examples

/// Local Declarations

DiagCom.ComChannel ComChannel;
DiagCom.DiagService DiagService;
DiagDataBrowsingPlus.DbDiagService DbDiagService;
List<String> List_String;

/// Flow

ComChannel = DiagCom.GetComChannel("LL_GatewUDS", NULL, false);
DiagService = DiagCom.CreateDiagServiceByName(ComChannel, "DiagnServi_ReadDataByIdentActuaTestStatu");
DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService);
List_String = DiagDataBrowsingPlus.GetDbDiagServiceDbFunctionalClasses(DbDiagService);

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetDiagServiceDbDiagService
GetComChannelDbComChannel
GetDbComChannel
GetDbComChannelDbDiagServices