Difference between revisions of "Extensions.DataType.EnumerationGetEntryList"
Jump to navigation
Jump to search
m (Hb moved page Extensions.DataTypes.EnumerationGetEntryList to Extensions.DataType.EnumerationGetEntryList) |
|||
Line 1: | Line 1: | ||
− | {{DISPLAYTITLE:OTX '''EnumerationGetEntryList'''}}[[Category: | + | {{DISPLAYTITLE:OTX '''EnumerationGetEntryList'''}}[[Category:DataType]] |
== Classification == | == Classification == | ||
− | {{ClassificationActivity | EnumerationGetEntryList | Returns a List of String of the names in a specified enumeration | [[Term]] | [[Extensions. | + | {{ClassificationActivity | EnumerationGetEntryList | Returns a List of String of the names in a specified enumeration | [[Term]] | [[Extensions.DataType|OTX DataTypes extension]] | [[Extensions.DataType#Term|EnumerationGetEntryList related terms]] | - | - }} |
== OTL Syntax == | == OTL Syntax == | ||
Line 22: | Line 22: | ||
== OTL Examples == | == OTL Examples == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | package | + | package DataType.EnumerationSignature EnumerationSignature1(Integer EnumerationElement1 = 7, Integer EnumerationElement2 = 12); |
public procedure main() | public procedure main() | ||
{ | { | ||
List<String> entryList; | List<String> entryList; | ||
− | entryList = | + | entryList = DataType.EnumerationGetEntryList(EnumerationSignature1); |
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== See also == | == See also == | ||
− | [[Extensions. | + | [[Extensions.DataType.EnumerationContainsName|EnumerationContainsName]] <br/> |
− | [[Extensions. | + | [[Extensions.DataType.EnumerationContainsValue|EnumerationContainsValue]] <br/> |
− | <!-- [[Extensions. | + | <!-- [[Extensions.DataType.EnumerationGetEntryList|EnumerationGetEntryList]] <br/> --> |
− | [[Extensions. | + | [[Extensions.DataType.GetEnumerationByName|GetEnumerationByName]] <br/> |
− | [[Extensions. | + | [[Extensions.DataType.GetEnumerationByValue|GetEnumerationByValue]] <br/> |
− | [[Extensions. | + | [[Extensions.DataType.StructureCopy|StructureCopy]] <br/> |
Revision as of 12:16, 24 September 2018
Contents
Classification
Name | EnumerationGetEntryList |
Short Description | Returns a List of String of the names in a specified enumeration |
Class | Term |
Extension | OTX DataTypes extension |
Group | EnumerationGetEntryList related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
DataTypes.EnumerationGetEntryList(EnumerationSignature);
Description
EnumerationGetEntryList is a term that returns a List of String of the names in a specified enumeration.
Return Value
The Term returns the value, see table below.
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
List | Returns a List of String of the names in a specified enumeration. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Enumeration | OtxLink | - | - | [1] | This attribute identifies the specified enumeration to get the entry list. The link shall point to the corresponding EnumerationSignature. |
OTL Examples
package DataType.EnumerationSignature EnumerationSignature1(Integer EnumerationElement1 = 7, Integer EnumerationElement2 = 12);
public procedure main()
{
List<String> entryList;
entryList = DataType.EnumerationGetEntryList(EnumerationSignature1);
}
See also
EnumerationContainsName
EnumerationContainsValue
GetEnumerationByName
GetEnumerationByValue
StructureCopy