Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbObjectShortName"
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;"> | ||
− | + | /// Local Declarations | |
+ | String StringVariable; | ||
+ | /// Flow | ||
+ | StringVariable = DiagDataBrowsingPlus.GetDbObjectShortName(DbObjectTerm); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 23: | Line 26: | ||
== OTL Examples == | == OTL Examples == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
+ | /// Local Declarations | ||
+ | |||
String MyString; | String MyString; | ||
DiagDataBrowsingPlus.DbComChannel dbObject; | DiagDataBrowsingPlus.DbComChannel dbObject; |
Revision as of 04:48, 24 October 2018
Contents
Classification
Name | GetDbObjectShortName |
Short Description | Gets the short name of the DbObject |
Class | Term |
Extension | OTX DiagDataBrowsingPlus extension |
Group | DbObject related terms |
Exceptions | NONE |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
/// Local Declarations
String StringVariable;
/// Flow
StringVariable = DiagDataBrowsingPlus.GetDbObjectShortName(DbObjectTerm);
Description
GetDbObjectShortName returns the ShortName of the object. If no ShortName exists (e.g. in Caption of DbSpecialDataGroup) an empty string shall be returned.
![]()
NOTE — The appropriate MVCI system operation is MCDNamedObject::getShortName
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
String | Returns the ShortName of the object. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
dbObject | DbObject | Term | - | [1..1] | The element addresses the DbObject whose short name shall be returned. |
OTL Examples
/// Local Declarations
String MyString;
DiagDataBrowsingPlus.DbComChannel dbObject;
/// Flow
dbObject = DiagDataBrowsingPlus.GetDbComChannel("EV_GatewLear_006", "LL_GatewUDS");
MyString = DiagDataBrowsingPlus.GetDbObjectShortName(dbObject);
See also
GetDbComChannel
GetDiagServiceDbDiagService
GetParameterDbDiagTroubleCode
GetDbComChannelDbEnvDataDescs
GetDbComChannelDbFaultMemories
GetDbParameters
GetRequestDbRequest
GetResponseDbResponse
GetDbDiagServiceDbSpecialDataGroups
GetDbComChannelDbSubComponents
GetDbComChannelDbTables