OTX Reference  
OpenTestSystem.Otx.Core.Declarations.ContextVariableDeclaration Class Reference

Context variable More...

Inheritance diagram for OpenTestSystem.Otx.Core.Declarations.ContextVariableDeclaration:
Inheritance graph

Public Attributes

Visibility visibility
 Visibility for access from outside the document More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Declarations.Declaration
DeclarationRealisation realisation
 For declarations at specification stage, having a name for the declaration is sufficient. For realisation stage, the declaration needs a data type assignment. The optional realisation element is used for exactly this task – it contains a dataType sub element. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.UniversalTypes.NamedAndSpecified
ExtensibleData[] extendedData
 Declares general data for NamedAndSpecified which can be extented by new general data defined in new OTX extensions using the standardised extension mechanism. For example it can be used to specify specification relevant content in a better structured way. More...
 
OtxId id
 Unique identifier of an element More...
 
MetaData metaData
 Additional tool-specific data More...
 
OtxName name
 Name of an element More...
 
NamedAndSpecifiedSpecification[] specification
 Descriptive specification More...
 

Detailed Description

Context variable

Context variables behave as global constants. However, they have a special meaning. They represent environment-related data such as vehicle type, name of workshop, registered user, etc. see context concept.

Checker rules
CheckerRule.Core_Chk051 - Immutability of constants, input parameters and context variables

Member Data Documentation

◆ visibility

Visibility OpenTestSystem.Otx.Core.Declarations.ContextVariableDeclaration.visibility

Visibility for access from outside the document