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

Declares a global constant More...

Inheritance diagram for OpenTestSystem.Otx.Core.Declarations.GlobalConstantDeclaration:
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

Declares a global constant

Declares a global constant identifier. The value of a constant is fixed at declaration time – it is not allowed to be changed.

Checker rules
CheckerRule.Core_Chk009 - Mandatory constant initialisation
CheckerRule.Core_Chk051 - Immutability of constants, input parameters and context variables

Member Data Documentation

◆ visibility

Visibility OpenTestSystem.Otx.Core.Declarations.GlobalConstantDeclaration.visibility

Visibility for access from outside the document