Difference between revisions of "Core.Visibilities"

From emotive
Jump to navigation Jump to search
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:OTX '''Visibilities''' data model}}[[Category:OTX-Core]][[Category:Visibilities]]
+
{{DISPLAYTITLE:OTX '''Visibilities'''}}[[Category:OTX-Core]][[Category:Visibilities]]
 
== Classification ==
 
== Classification ==
{{ClassificationCore | Visibilities | OTX visibilities data model | [[OTX Core]] | - }}
+
{{ClassificationCore | Visibilities | An attribute of the global elements to determine accessibility | [[OtxReference#Core|OTX Core]] | - }}
  
 
== Introduction ==
 
== Introduction ==
In OTX describes the visibility whether items such as:
+
The visibility attribute determines whether global elements can be used in other documents or not. These global elements are:
  
* Procedure,
+
* Validities
* Signature
+
* Signatures
* Global constant
+
* Global constants
* Context variable
+
* Context variables
* Validity
+
* State variables
 +
* Procedures
  
can be used in other documents or not. There are the following three levels of visibility:
+
There are the three levels of visibility as follows:
  
* '''Private''' <br/> The corresponding element can only be used within the same document. It is thus invisible to other OTX documents.
+
* '''Private''' <br/> The corresponding element can only be used within the same document. It is, therefore, invisible to other OTX documents.
* '''Package''' <br/> The corresponding element can only be used in documents within the same package. It is thus invisible to OTX documents outside the current package.
+
* '''Package''' <br/> The corresponding element can only be used in the documents within the same package. It is, therefore, invisible to OTX documents outside the current package.
* '''Public''' <br/> The corresponding item can be used by all of the document. Thus, it is visible to all OTX documents.
+
* '''Public''' <br/> The corresponding element can be used by all of the documents. Therefore, it is visible to all OTX documents.
  
Global variables always have the visibility '''private''', ie must not be used in other documents!
+
Global variables always have the visibility '''private''', i.e. they can not be used in other documents!
  
 
== See also ==
 
== See also ==
[[OtxValidation|Validation (OTX-Checker)]] <br/>
+
[[Core.Validation|Validation (OTX-Checker)]] <br/>
​​[[OtxNamingConventions|Naming Conventions]] <br/>
+
​​[[General.NamingConventions|Naming Conventions]] <br/>
[[OtxDeclarations|Imports]] <br/>
+
[[Core.Imports|Imports]] <br/>
[[OtxDeclarations|Declarations]] <br/>
+
[[Core.Declarations|Declarations]] <br/>
[[OtxValidities|Validities]] <br/>
+
[[Core.Validities|Validities]] <br/>
[[OtxSignatures|Signatures]] <br/>
+
[[Core.Signatures|Signatures]] <br/>
[[OtxParameterDeclarations|Parameter Declarations]] <br/>
+
[[Core.Parameters|Parameter Declarations]] <br/>
[[OtxProcedures|Procedures]] <br/>
+
[[Core.Procedures|Procedures]] <br/>
[[OtxComments|Comments]]
+
[[Core.Comments|Comments]]

Latest revision as of 09:49, 29 August 2018

Classification

Name Visibilities
Short Description An attribute of the global elements to determine accessibility
Class OTX Core
Pre-Conditions -
Specified by ISO 13209-2

Introduction

The visibility attribute determines whether global elements can be used in other documents or not. These global elements are:

  • Validities
  • Signatures
  • Global constants
  • Context variables
  • State variables
  • Procedures

There are the three levels of visibility as follows:

  • Private
    The corresponding element can only be used within the same document. It is, therefore, invisible to other OTX documents.
  • Package
    The corresponding element can only be used in the documents within the same package. It is, therefore, invisible to OTX documents outside the current package.
  • Public
    The corresponding element can be used by all of the documents. Therefore, it is visible to all OTX documents.

Global variables always have the visibility private, i.e. they can not be used in other documents!

See also

Validation (OTX-Checker)
​​Naming Conventions
Imports
Declarations
Validities
Signatures
Parameter Declarations
Procedures
Comments