Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetGetDbObjectLongNameID"

From emotive
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:OTX '''GetGetDbObjectLongNameID'''}}Category:DiagDataBrowsingPlus == Classification == {{ClassificationActivity | GetGetDbObjectLongNameID | UPDATING... | [...")
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:OTX '''GetGetDbObjectLongNameID'''}}[[Category:DiagDataBrowsingPlus]]
 
{{DISPLAYTITLE:OTX '''GetGetDbObjectLongNameID'''}}[[Category:DiagDataBrowsingPlus]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | GetGetDbObjectLongNameID | UPDATING... | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | UPDATING... | UPDATING... | UPDATING... }}
+
{{ClassificationActivity | GetGetDbObjectLongNameID | Gets the  long name ID of the [[Extensions.DiagDataBrowsingPlus.DbObject|DbObject]] | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus#Terms|DbObject related terms]] | NONE | - }}
  
 
== OTL Syntax ==
 
== OTL Syntax ==
UPDATING...<!--
 
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
DiagCom.CloseComChannel(ComChannelVariable);
+
StringTerm DiagDataBrowsingPlus.GetGetDbObjectLongNameID(DbObjectTerm dbObject);
 
</syntaxhighlight>
 
</syntaxhighlight>
-->
 
  
 
== Description ==
 
== Description ==
UPDATING...<!--
+
'''GetGetDbObjectLongNameID''' returns the ID for the LongName of the object as a [[Core.DataTypes.SimpleDataType.String|string]] which is made for multi language purposes. It returns the ID for a text in a texttable, in each language texttable the ID points to the same content but different language. The return value can be empty, if the ID can not be determined.
OTX CloseComChannel activity is used for the [[Diagnosis Runtime System]] to announce that an open communication channel that all relevant resources can be released and closed.
+
 
{{ComChannelMemoryUsageNote}}
+
{{Note|The appropriate MVCI system operation is MCDDbObject::getLongNameID}}
{{Important|Please note that the use of a shared '''ComChannel''' can bring the OTX runtime system in an undefined state and that is this case is not validated at design time!}}
+
 
-->
+
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] | Returns the ID for the LongName of the object.}}
  
 
== Properties ==
 
== Properties ==
UPDATING...<!--
 
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| ComChannel | [[Extensions.DiagCom.ComChannel|ComChannel]] | [[Variable]] | - | [1] | Communication Channel (Control unit).}}
+
{{TableRowPropertie2| DbObject | [[Extensions.DiagDataBrowsingPlus.DbObject|DbObject]] | [[Term]] | - | [1..1] |The element addresses the '''DbObject''' whose long name ID shall be returned.}}
 
|}
 
|}
-->
 
  
 
== OTL Examples ==
 
== OTL Examples ==
UPDATING...<!--
 
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
DiagCom.ComChannel myComCannel;
+
/// Local Declarations
 +
 
 +
String MyString;
 +
DiagDataBrowsingPlus.DbComChannel dbObject;
  
myComCannel = DiagCom.GetComChannel("DiagnosticsCan_ECU_1", null, false);
+
/// Flow
  
// Code example using the variable myComChannel
+
dbObject = DiagDataBrowsingPlus.GetDbComChannel("EV_GatewLear_006", "LL_GatewUDS");
// ...
+
MyString = DiagDataBrowsingPlus.GetDbObjectLongNameID(dbObject);
DiagCom.CloseComChannel(myComCannel);</syntaxhighlight>
 
 
</syntaxhighlight>
 
</syntaxhighlight>
-->
 
  
 
== See also ==
 
== See also ==
UPDATING...
+
[[Extensions.DiagDataBrowsingPlus.GetDbComChannel|GetDbComChannel]] <br/>
 +
[[Extensions.DiagDataBrowsingPlus.GetDiagServiceDbDiagService|GetDiagServiceDbDiagService]]<br/>
 +
[[Extensions.DiagDataBrowsingPlus.GetParameterDbDiagTroubleCode|GetParameterDbDiagTroubleCode]]<br/>
 +
[[Extensions.DiagDataBrowsingPlus.GetDbComChannelDbEnvDataDescs|GetDbComChannelDbEnvDataDescs]]<br/>
 +
[[Extensions.DiagDataBrowsingPlus.GetDbComChannelDbFaultMemories|GetDbComChannelDbFaultMemories]]<br/>
 +
[[Extensions.DiagDataBrowsingPlus.GetDbParameters|GetDbParameters]]<br/>
 +
[[Extensions.DiagDataBrowsingPlus.GetRequestDbRequest|GetRequestDbRequest]]<br/>
 +
[[Extensions.DiagDataBrowsingPlus.GetResponseDbResponse|GetResponseDbResponse]]<br/>
 +
[[Extensions.DiagDataBrowsingPlus.GetDbDiagServiceDbSpecialDataGroups|GetDbDiagServiceDbSpecialDataGroups]]<br/>
 +
[[Extensions.DiagDataBrowsingPlus.GetDbComChannelDbSubComponents|GetDbComChannelDbSubComponents]]<br/>
 +
[[Extensions.DiagDataBrowsingPlus.GetDbComChannelDbTables|GetDbComChannelDbTables]]

Latest revision as of 09:02, 2 November 2018

Classification

Name GetGetDbObjectLongNameID
Short Description Gets the long name ID of the DbObject
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group DbObject related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

StringTerm DiagDataBrowsingPlus.GetGetDbObjectLongNameID(DbObjectTerm dbObject);

Description

GetGetDbObjectLongNameID returns the ID for the LongName of the object as a string which is made for multi language purposes. It returns the ID for a text in a texttable, in each language texttable the ID points to the same content but different language. The return value can be empty, if the ID can not be determined.

Icons Note.png The appropriate MVCI system operation is MCDDbObject::getLongNameID

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
String Returns the ID for the LongName of the object.

Properties

Name Data Type Class Default Cardinality Description
DbObject DbObject Term - [1..1] The element addresses the DbObject whose long name ID shall be returned.

OTL Examples

/// Local Declarations

String MyString;
DiagDataBrowsingPlus.DbComChannel dbObject;

/// Flow

dbObject = DiagDataBrowsingPlus.GetDbComChannel("EV_GatewLear_006", "LL_GatewUDS");
MyString = DiagDataBrowsingPlus.GetDbObjectLongNameID(dbObject);

See also

GetDbComChannel
GetDiagServiceDbDiagService
GetParameterDbDiagTroubleCode
GetDbComChannelDbEnvDataDescs
GetDbComChannelDbFaultMemories
GetDbParameters
GetRequestDbRequest
GetResponseDbResponse
GetDbDiagServiceDbSpecialDataGroups
GetDbComChannelDbSubComponents
GetDbComChannelDbTables