Difference between revisions of "Extensions.DiagDataBrowsingPlus.IsDbDiagServiceRepetitive"

From emotive
Jump to navigation Jump to search
 
(4 intermediate revisions 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;">
BooleanTerm = DiagDataBrowsingPlus.IsDbDiagServiceRepetitive(DbDiagServiceTerm);
+
BooleanTerm DiagDataBrowsingPlus.IsDbDiagServiceRepetitive(DbDiagServiceTerm dbDiagService);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 13: Line 13:
 
If getRepetitionMode is not supported, the [[Extensions.DiagDataBrowsingPlus.NotSupportedException|NotSupportedException]] exception shall be thrown.
 
If getRepetitionMode is not supported, the [[Extensions.DiagDataBrowsingPlus.NotSupportedException|NotSupportedException]] exception shall be thrown.
  
{{Note|NOTE — The appropriate MVCI system operation is MCDDbDataPrimitive::getRepetitionMode}}
+
{{Note|The appropriate MVCI system operation is MCDDbDataPrimitive::getRepetitionMode}}
  
 
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.Boolean|Boolean]] | Returns True if MVCI-Server returns eREPEATED in getRepetitionMode otherwise False.}}
 
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.Boolean|Boolean]] | Returns True if MVCI-Server returns eREPEATED in getRepetitionMode otherwise False.}}
Line 20: Line 20:
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie2| DbDiagService | [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] | [[Term]] | - | [1..1] | The element addresses the [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] which is checked whether it is repetitive or not.}}
+
{{TableRowPropertie2| DbDiagService | [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] | [[Term]] | - | [1..1] | The element addresses the '''DbDiagService''' which is checked whether it is repetitive or not.}}
 
|}
 
|}
  
 
== 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:12, 2 November 2018

Classification

Name IsDbDiagServiceRepetitive
Short Description Checks whether the DbDiagService it is repetitive or not.
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group DbDiagService related terms
Exceptions NotSupportedException
Checker Rules -
Standard Compliant Yes

OTL Syntax

BooleanTerm DiagDataBrowsingPlus.IsDbDiagServiceRepetitive(DbDiagServiceTerm dbDiagService);

Description

IsDbDiagServiceRepetitive returns True if MVCI-Server returns eREPEATED in getRepetitionMode otherwise False.

If getRepetitionMode is not supported, the NotSupportedException exception shall be thrown.

Icons Note.png The appropriate MVCI system operation is MCDDbDataPrimitive::getRepetitionMode

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 if MVCI-Server returns eREPEATED in getRepetitionMode otherwise False.

Properties

Name Data Type Class Default Cardinality Description
DbDiagService DbDiagService Term - [1..1] The element addresses the DbDiagService which is checked whether it is repetitive or not.

OTL Examples

/// Local Declarations

DiagCom.ComChannel ComChannel;
DiagCom.DiagService DiagService;
DiagDataBrowsingPlus.DbDiagService DbDiagService;
Boolean MyBoolean = false;

/// Flow

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

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetComChannelDbComChannel
GetDbComChannel
GetDbComChannelDbDiagServices