Core.Imports
Jump to navigation
Jump to search
Classification
Name | Imports |
Short Description | Reference to an OTX document |
Class | OTX Core |
Pre-Conditions | - |
Specified by | ISO 13209-2 |
Introduction
Within an OTX document, the references to other OTX documents, which are called as imports in OTX, may be defined. With the aid of the references, global names from other OTX documents can be imported into the current document. The following global names can then be accessed within the current document:
- Signatures
- Validities
- Global constants
- Context variables
- State variables
- Procedures
Important: All objects above of the imported documents can only be accessed according to their Visibility! |
Semantics
When importing an external document, the following parameters must be specified:
- Package (required)
Contains the full name of the package, which includes the OTX document. - Document (required)
Contains the name of the document to be imported OTX. - Prefix (required)
Free name that identifies the imported document. It is represented in all accesses to the imported document.
Checker rules
Core_Chk003 | No dead import links |
Core_Chk004 | No unused imports |
Core_Chk006 | Match of imported document's data model version |
See also
Validation (OTX-Checker)
Naming Conventions
Declarations
Visibilities
Validities
Signatures
Parameter Declarations
Procedures
Comments