getProjectElementEntity method reworked