On 2010-02-03 20.19, Falko Bräutigam wrote:
Hi all,
in RC1 toString() and friends were implemented generally using the
identity of the entity. At least I did not found a way to provide a
specific implementation through a mixin. In 1.0 final, with the same
code, I get:

The mixin is:

public abstract class PersonMixin
implements Person {

@This PersonComposite composite;

public String toString() {
return "Person: ...";
}

[...]
}

So, how is this done 1.0 release? I was searching web and mailing list
but did not find anything about it. Any help would be greatly appreciated.

Since Object methods should be done by Qi4j itself, why do you have a toString() in the mixin? What happens if you remove it?

/Rickard

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to