Sparx Systems Forum
Enterprise Architect => Bugs and Issues => Topic started by: Thomas Arnbjerg on September 16, 2022, 04:59:08 pm
-
Hi,
we have the following construct in java - source:
public class Class1 extends AbstractClass2<EnumType1, EnumType2> implements Interface1
In Ea this is modeled with 2 classes and 1 interface (without template arguments). The generalization connector between Class1 and Abstract Class2 has to template bindings identifying EnumType1 and EnumType2 for the template arguments for AbstractClass2.
When the code is generated from EA the result is:
public class Class1 extends AbstractClass2<EnumType1, EnumType2> implements Interface1<EnumType1, EnumType2>
- i.e. the implementation of Interface1 also gets the template arguments.
Any suggestions?
br
Thomas