OTX Reference  
OpenTestSystem.Otx.Extensions.XML.Terms.XmlDocumentValue Class Reference

Reading of data type value More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.XML.Terms.XmlDocumentValue:
Inheritance graph

Public Attributes

Path path
 Cardinality [0..1]
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. More...
 
OtxLink valueOf
 Cardinality [1]
Name of declaration. 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.XML.Terms.XmlDocumentValue.path

Cardinality [0..1]
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.

◆ valueOf

OtxLink OpenTestSystem.Otx.Extensions.XML.Terms.XmlDocumentValue.valueOf

Cardinality [1]
Name of declaration.

Contains the name of the declaration 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 will be utilized to address the data inside of the structure.