Youcan ignore warning, generate code and corect generated code to get/assign
child element to the appropriate parent one.
Anoter option is to create derived feature in parent domain model element,
implement it in EMF so it will assign child element to the appropriate container
and use this feature as a containment one (.gmfmap editor does not allo it,
but you can do that by changing text file).