OTX Reference  
OpenTestSystem.Otx.Extensions.BlackBox.Terms.BlackBoxValue Class Reference

Reading of data type value. More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.BlackBox.Terms.BlackBoxValue:
Inheritance graph

Public Attributes

Path path
 Cardinality [0..1]
The element addresses parts of complex structures like List or Map. More...
 
OtxLink valueOf
 Cardinality [1]
Contains the name of the variable, constant or parameter where the value is stored. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Cardinality [0..1]
The MetaData type allows tools to store additional, mainly tool-specific data. More...
 

Detailed Description

Reading of data type value.

Dereferencing terms are used for reading the value of declarations or values which are contained inside of a complex structure like List or Map.

Checker rules
Core.CheckerRule.Core_Chk053 – No dangling OtxLink associations
Core.CheckerRule.Core_Chk050 – Type-safe variable and constant usage
Exceptions
Core.Exceptions.OutOfBoundsExceptionOccurs only, if a <path> is set and the <path> points to a location which does not exist (like a list index exceeding list length, or a map key which is not part of the map).

Member Data Documentation

◆ path

Path OpenTestSystem.Otx.Extensions.BlackBox.Terms.BlackBoxValue.path

Cardinality [0..1]
The element addresses parts of complex structures like List or Map.

◆ valueOf

OtxLink OpenTestSystem.Otx.Extensions.BlackBox.Terms.BlackBoxValue.valueOf

Cardinality [1]
Contains the name of the variable, constant or parameter where the value is stored.

If the value of interest resides deeper within a complex data structure like a List or Map, the <path> element shall be utilized to address the data inside of the structure.