OTX Reference  
OpenTestSystem.Otx.Core.UniversalTypes.Path Class Reference

Addresses parts of complex structures More...

Classes

class  PathItem
 Locations address, choice 1 of 2 elements: stepByIndex and stepByName More...
 

Public Attributes

PathItem[] Items
 Cardinality [1..*]
Describes one or more items of Location Address More...
 

Detailed Description

Addresses parts of complex structures

The element addresses parts of complex structures like List or Map. It is built out of a series of index and name steps which allow navigate into the structure.

Checker rules
CheckerRule.Core_Chk053 – No dangling OtxLink associations
CheckerRule.Core_Chk050 – Type-safe variable and constant usage
CheckerRule.Core_Chk051 – Immutability of constants, input parameters and context variables
Exceptions
Core.Exceptions.OutOfBoundsExceptionOnly if there is a path: If the path points to a location which has not been allocated (like a list index exceeding list length, or a map key which is not part of the map).

Member Data Documentation

◆ Items

PathItem [] OpenTestSystem.Otx.Core.UniversalTypes.Path.Items

Cardinality [1..*]
Describes one or more items of Location Address