added function getEntityTypeName