Fixture Scripts - Invoking WrapperFactory.wrap() in actions

2015-04-18 Thread QUALITEC - Óscar Bou
Hi all. I have a FixtureScript that invokes some factory methods that include setters that are invoking by wrapping the domain object (for ensuring that the validateXXX, modifyXXX, etc. methods are also invoked). public class TwentyPercentForTwoOrdersCoupon extends FixtureScript {

Has Java Traits and Mixins by means of Apache Isis ?

2014-09-06 Thread QUALITEC - Óscar Bou
Hi to all. Just to notice that I've been reading recently about the concept of traits [1] and mixins [2], as a way to encourage code reuse avoiding inheritance problems. This language features are supported by languages like Ada, Groovy, Scala or Python, but there's no native support for