first draft of a toMany setter in generated classes