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

Reference to an OTX entity More...

Detailed Description

Reference to an OTX entity

In various places of the OTX data model, OtxName is used for naming entities like Signatures, Procedures or Validities as well as global and local declarations. Its counterpart OtxLink is used for referring to these named entities (document-internally or cross-documents). Both OtxName and OtxLink represent restrictions on the syntax of such names and references.

The simple type OtxLink is derived from string. The type restricts the value space of string by a regular expression pattern "(_*[a-zA-Z][a-zA-Z0-9_]*:)?_*[a-zA-Z][a-zA-Z0-9_]*". According to the pattern, the OtxLink syntax allows two ways of referring to a named entity, depending on whether the target entity is defined in the same document, or whether it is defined in an external document (which was imported to the local document, see Import). In the first case the syntax equals the OtxName syntax. In the latter case the syntax equals "OtxName:OtxName": Here the first part shall be the name of the prefix assigned to the particular OTX document where the target entity is defined, the second part (after the colon) is the entity name itself.

Checker rules
CheckerRule.Core_Chk053 – No dangling OtxLink associations
CheckerRule.Core_Chk005 – No use of undefined import prefixes
See also
OtxName, Core.Import