-
Key: OCL25-169
-
Legacy Issue Number: 14599
-
Status: open
-
Source: Model Driven Solutions ( Dr. Edward Willink)
-
Summary:
12.2 defines a syntax for a standalone OCL document, but provides no mechanism to assist an implementation in locating packages or to partition into multiple reusable documents.
a) Suggest addition of an ImportDeclarationCS
ImportDeclarationCS ::= import StringLiteralExpCS
where StringLiteralExpCS is a URI whose MOF/UML model content an implementation should make visible within the root environment.
import is a new reserved word.
b) Suggest addition of an IncludeDeclarationCS
IncludeDeclarationCS ::= include StringLiteralExpCS
where StringLiteralExpCS is a URI whose OCL document content an implementation should interpret (at most once) before proceeding.
include is a new reserved word.
c) Suggest addition of an OclDocumentCS
OclDocumentCS ::= (ImportDeclarationCS)* (IncludeDeclarationCS | PackageDeclarationCS[A])*
d) Suggest an OclPackage to own the Constraints for each Package and bypass the problem that Constriants do not have distinguishable names as required by Package content.
-
Reported: OCL 2.1 — Sat, 31 Oct 2009 04:00 GMT
-
Updated: Thu, 8 Oct 2015 14:12 GMT