A managed class will be included if it is one of the following:
A managed class will be excluded if:
Why ? In a certain context, you may want to exclude an entity in order to use it as a transfer object but not as entity.