use entityMetaData instead of entity name
add entities and no strings.
set the entity of the entityMetaData in de attributeMetaData map entity
set the entity of the package in de entityMetaData map entity