Hi
I’m using the model model api. It works well in general, but I have two issues:
-
I have two abstract classes A and B. Both marked with @Managed. B extends A. And both implement some @Unmanaged method:
@Managed
public abstract class A{@Unmanaged public abstract Document toXml() ;
}
@Managed
public abstract class B extends A{@Unmanaged @Override public Document toXml() { // do something }
}
This way it is not working. I need to implement toXml in A as well (for example just return null). Otherwise a stackoverflow happens.
-
Generics are not working:
public interface DataSourceModel {
public ModelMap getBeans();
}
Instead I have to use ModelMap as return type of the getBeans method.
My environment:
Gradle Version: 2.13
Operating System: Win10
Regards Remo