-
Key: UML25-680
-
Legacy Issue Number: 18809
-
Status: closed
-
Source: Model Driven Solutions ( Mr. Steve Cook)
-
Summary:
Profile::references_same_metamodel
All elements imported either as metaclassReferences or through metamodelReferences are members of the same base reference metamodel.
inv: metamodelReference.importedPackage.elementImport.importedElement.allOwningPackages()->
union(metaclassReference.importedElement.allOwningPackages() )->notEmpty()
Surely this OCL is completely wrong, both in its own right, and especially in the light of the following statement:
Where both a metaclassReference and a metamodelReference are present on a profile, the latter is ignored and only the specific metaclasses are available.
I’m thinking the right logic would be something like this:
(metaClassReference->isEmpty() implies metamodelReference.importedPackage.member->forAll( m1, m2 | m1.allOwningPackages().intersection(m2.allOwningPackages())->notEmpty()))
and
metaclassReference.importedElement->forAll( m1, m2 | m1.allOwningPackages().intersection(m2.allOwningPackages())->notEmpty())
-
Reported: UML 2.5b1 — Thu, 11 Jul 2013 04:00 GMT
-
Disposition: Resolved — UML 2.5
-
Disposition Summary:
duplicate of issue 18806 --withdrawn
-
Updated: Fri, 6 Mar 2015 23:16 GMT
UML25 — Profile::references_same_metamodel
- Key: UML25-680
- OMG Task Force: Unified Modeling Language 2.5 (UML) FTF