Difference between revisions of "Extensions.Flash.GetNumberOfSecurities"
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;"> | ||
| − | + | IntegerTerm Flash.GetNumberOfSecurities(FlashSessionTerm session, NumericTerm block); | |
| − | |||
| − | |||
| − | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 05:45, 5 November 2018
Contents
Classification
| Name | GetNumberOfSecurities |
| Short Description | Gets the number of security information of a block or session |
| Class | Term |
| Extension | OTX Flash extension |
| Group | Flash block related terms |
| Exceptions | OutOfBoundsException |
| Checker Rules | - |
| Standard Compliant | Yes |
OTL Syntax
IntegerTerm Flash.GetNumberOfSecurities(FlashSessionTerm session, NumericTerm block);Description
The GetNumberOfOwnIdents term shall return the number of security information of a block or session.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
| Data Type | Description |
| Integer | The number of security information of a block or session. |
Properties
| Name | Data Type | Class | Default | Cardinality | Description |
| Session | FlashSession | Term | - | [1] | This element represents the FlashSession of interest. |
| Block | Numeric | Term | - | [0..1] | This optional element defines the block from which the number of security information shall be retrieved. If the <block> element is omitted, the term returns the number of securities defined for the flash session. Float values shall be truncated. |
OTL Examples
/// Local Declarations
DiagCom.ComChannel ComChannel1;
Flash.FlashSession FlashSession1;
List<String> List1;
Integer Integer1;
/// Flow
ComChannel1 = DiagCom.GetComChannel("SCHEINWERFER", "SCHEINWERFER_1", false);
List1 = Flash.GetListOfValidFlashSessions(ComChannel1, @Audience:SUPPLIER, @Directions:DOWNLOAD);
FlashSession1 = Flash.GetFlashSession(List1[2]);
Integer1 = Flash.GetNumberOfSecurities(FlashSession1);See also
GetNumberOfSegments
GetNumberOfOwnIdents
GetLogicalBlockID
GetCompressionEncryption
GetType
BlockIsValidForAudience
GetListOfValidFlashSessions
GetFlashSession
GetComChannel