Skip to content

Commit

Permalink
[FIXUP] Only support containmeints?!
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Sep 23, 2024
1 parent 4e7a3ca commit a8e0384
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public int getLength() {
}

private Stream<EReference> availableReferences(EClass eClass) {
return eClass.getEAllReferences().stream().filter(eObject::eIsSet);
return eClass.getEAllReferences().stream().filter(r -> r.isContainment()).filter(eObject::eIsSet);
}

private Stream<Element> createReferenceNodes(EReference ref) {
Expand Down

0 comments on commit a8e0384

Please sign in to comment.