Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdolfo SBH2016-10-28 09:39:13 +0000
committerEd Willink2016-10-31 17:39:39 +0000
commit1af1c426de18a4ed62a67b3061179c59b257e0e0 (patch)
treef9cc9e687438f32485ddbc165a74d03e5f492fc0
parentd41aff326fddd73c8aee8eda6e5902021db41423 (diff)
downloadorg.eclipse.qvtd-1af1c426de18a4ed62a67b3061179c59b257e0e0.tar.gz
org.eclipse.qvtd-1af1c426de18a4ed62a67b3061179c59b257e0e0.tar.xz
org.eclipse.qvtd-1af1c426de18a4ed62a67b3061179c59b257e0e0.zip
[ocl2qvtp] - Fix to let access the traceability property from the
(primary) class that contains it.
-rw-r--r--plugins/org.eclipse.qvtd.cs2as.compiler/src/org/eclipse/qvtd/cs2as/compiler/internal/OCL2QVTp.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.qvtd.cs2as.compiler/src/org/eclipse/qvtd/cs2as/compiler/internal/OCL2QVTp.java b/plugins/org.eclipse.qvtd.cs2as.compiler/src/org/eclipse/qvtd/cs2as/compiler/internal/OCL2QVTp.java
index 3f46b17bf..5da34a936 100644
--- a/plugins/org.eclipse.qvtd.cs2as.compiler/src/org/eclipse/qvtd/cs2as/compiler/internal/OCL2QVTp.java
+++ b/plugins/org.eclipse.qvtd.cs2as.compiler/src/org/eclipse/qvtd/cs2as/compiler/internal/OCL2QVTp.java
@@ -561,7 +561,7 @@ public class OCL2QVTp {
assert(aClass != null);
Class pClass = envFact.getMetamodelManager().getPrimaryClass(aClass);
Set<Class> allClasses = getSuperClasses().apply(pClass);
- allClasses.add(aClass);
+ allClasses.add(pClass);
return allClasses.stream()
.flatMap(x -> x.getOwnedProperties().stream())
.filter(x -> traceabilityPropName.equals(x.getName()))

Back to the top