diff --git a/grammar2uml/src/main/jastadd/backend/Generation.jadd b/grammar2uml/src/main/jastadd/backend/Generation.jadd index 45276bd4aa3744de020a75512bc9ef62e7e130fb..ed5a3bb4afd6ab3f811c4b138fc0efbde88b3ff8 100644 --- a/grammar2uml/src/main/jastadd/backend/Generation.jadd +++ b/grammar2uml/src/main/jastadd/backend/Generation.jadd @@ -79,8 +79,8 @@ aspect AttributesForMustache { // --- toMRelationModifier --- syn String Role.toMRelationModifier(); eq NormalRole.toMRelationModifier() = "\"1\""; - eq ListRole.toMRelationModifier() = "\"0 .. 1\""; - eq OptRole.toMRelationModifier() = "\"*\""; + eq ListRole.toMRelationModifier() = "\"*\""; + eq OptRole.toMRelationModifier() = "\"0 .. 1\""; eq UnnamedRole.toMRelationModifier() { throw new RuntimeException("UnnamedRole cannot be converted to MRelation"); }