Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbTableDiagComPrimitiveByConnectorSemantic"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| dbTable|[[Extensions.DiagDataBrowsingPlus. | + | {{TableRowPropertie1| dbTable|[[Extensions.DiagDataBrowsingPlus.DbTable|DbTable]] | [[Term]] | - | [1..1] |The element addresses the '''DbTable''' (MCDDbTable) which [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] shall be returned.}} |
{{TableRowPropertie2| semantic| [[Core.DataTypes.SimpleDataType.String|String]] | [[Term]] | - | [1..1] |he element addresses the unique semantic attribute.}} | {{TableRowPropertie2| semantic| [[Core.DataTypes.SimpleDataType.String|String]] | [[Term]] | - | [1..1] |he element addresses the unique semantic attribute.}} | ||
|} | |} |
Revision as of 05:49, 19 September 2018
Contents
Classification
Name | GetDbTableDiagComPrimitiveByConnectorSemantic |
Short Description | Gets the DbDiagService of the DbTable |
Class | Term |
Extension | OTX DiagDataBrowsingPlus extension |
Group | DbTable related terms |
Exceptions | InvalidTypeException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
DbDiagServiceTerm = DiagDataBrowsingPlus.GetDbTableDiagComPrimitiveByConnectorSemantic(DbTableTerm, StringTerm);
Description
GetDbTableDiagComPrimitiveByConnectorSemantic returns the DbDiagService which is referenced from the current table by means of a TABLE-DIAG-COM-CONNECTOR of the given semantic. Note that the semantic is unique for all TABLE-DIAG-COM-CONNECTORs referenced by a TABLE in ODX.
If the current table has no TABLE-DIAG-COM-CONNECTOR with the given semantic, the InvalidTypeException exception will be thrown.
NOTE — The appropriate MVCI system operation is MCDDbTable::getDbDiagComPrimitiveByConnectorSemantic
Return Value
The Term returns the value, see table below.
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
DbDiagService | Returns the DbDiagService which is referenced from the current table by means of a TABLE-DIAG-COM-CONNECTOR of the given semantic. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
dbTable | DbTable | Term | - | [1..1] | The element addresses the DbTable (MCDDbTable) which DbDiagService shall be returned. |
semantic | String | Term | - | [1..1] | he element addresses the unique semantic attribute. |
OTL Examples
DiagDataBrowsingPlus.DbComChannel DbComChannel;
List<DiagDataBrowsingPlus.DbTable> List_DbTable;
DiagDataBrowsingPlus.DbDiagService DbDiagService;
/// Flow
DbComChannel = DiagDataBrowsingPlus.GetDbComChannel(NULL, "AIRBAG");
List_DbTable = DiagDataBrowsingPlus.GetDbComChannelDbTables(DbComChannel);
DbDiagService = DiagDataBrowsingPlus.GetDbTableDiagComPrimitiveByConnectorSemantic(List_DbTable[0]);
See also
GetDbComChannel
GetComChannelDbComChannel
GetDbComChannelDbTables
GetDbComChannelDbSubComponents
GetDbSubComponentDbTables