Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbObjectShortName"

From emotive
Jump to navigation Jump to search
 
(2 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;">
StringTerm = DiagDataBrowsingPlus.GetDbObjectShortName(DbObjectTerm);
+
StringTerm DiagDataBrowsingPlus.GetDbObjectShortName(DbObjectTerm dbObject);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 11: Line 11:
 
'''GetDbObjectShortName''' returns the ShortName of the object. If no ShortName exists (e.g. in Caption of [[Extensions.DiagDataBrowsingPlus.DbSpecialDataGroup|DbSpecialDataGroup]]) an empty string shall be returned.
 
'''GetDbObjectShortName''' returns the ShortName of the object. If no ShortName exists (e.g. in Caption of [[Extensions.DiagDataBrowsingPlus.DbSpecialDataGroup|DbSpecialDataGroup]]) an empty string shall be returned.
  
{{Note|NOTE — The appropriate MVCI system operation is MCDNamedObject::getShortName}}
+
{{Note|The appropriate MVCI system operation is MCDNamedObject::getShortName}}
  
 
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] | Returns the ShortName of the object.}}
 
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] | Returns the ShortName of the object.}}
Line 18: Line 18:
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie2| dbObject | [[Extensions.DiagDataBrowsingPlus.DbObject|DbObject]] | [[Term]] | - | [1..1] |The element addresses the '''DbObject''' whose short name shall be returned.}}
+
{{TableRowPropertie2| DbObject | [[Extensions.DiagDataBrowsingPlus.DbObject|DbObject]] | [[Term]] | - | [1..1] |The element addresses the '''DbObject''' whose short name 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
 +
 
String MyString;
 
String MyString;
 
DiagDataBrowsingPlus.DbComChannel dbObject;
 
DiagDataBrowsingPlus.DbComChannel dbObject;

Latest revision as of 09:02, 2 November 2018

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

StringTerm DiagDataBrowsingPlus.GetDbObjectShortName(DbObjectTerm dbObject);

Description

GetDbObjectShortName returns the ShortName of the object. If no ShortName exists (e.g. in Caption of DbSpecialDataGroup) an empty string shall be returned.

Icons Note.png The appropriate MVCI system operation is MCDNamedObject::getShortName

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 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