![]() |
OTX Reference
|
|
Structure is an otx:ComplexType. More...

Public Attributes | |
| StructureLiteral | init |
| Cardinality [0..1] his optional element stands for the initialization of the structure at declaration time. More... | |
| OtxLink | structureType |
| Cardinality [1] Refers to a certain StructureSignature. More... | |
Structure is an otx:ComplexType.
A structure is a user-defined data type composed of elements that can have different data types. It is typically used to encapsulate small groups of related elements, such as the coordinates of a rectangle. Structures can contain elements of any OTX data type and also Structure itself in any depth. To define the structure of a Structure the StructureSignature is used. A Structure itself has no literal and also has no init value. To access structure elements only StepByName and not StepByIndex will be used.
Note: IMPORTANT — A Structure value can be persisted if all contained elements can be persisted, see Persistence extension.
Sample
| StructureLiteral OpenTestSystem.Otx.Extensions.DataType.DataTypes.Structure.init |
Cardinality [0..1]
his optional element stands for the initialization of the structure at declaration time.
Note: IMPORTANT — Only structure elements which have a literal can be initialized. Note: IMPORTANT — If the Structure declaration is not explicitly initialized (omitted <init> element), the default value of each element shall be used.
| OtxLink OpenTestSystem.Otx.Extensions.DataType.DataTypes.Structure.structureType |
Cardinality [1]
Refers to a certain StructureSignature.