code: public Entity getEntityByName(String entityName) {
          Entity entity = currentEntitiesByName.get(entityName.toUpperCase());
          Assert.notNull(entity, "You must be sure that an entity is present. Entity name=" + entityName);
          return entity;
      }
docs: -------------------------------