entity generator - ignore trait properties and methods

Fixes:

DDC-1825
DDC-2154