8990919293949596979899
CompositeEntity entity = (CompositeEntity) object; if (includeEntities) { collection.addAll((Collection<?>) entity.entityList()); } if (includeRelations) { collection.addAll((Collection<?>) entity.relationList()); } } return collection; }