code: public EntityType getEntityType(Class<?> clazz) {
      EntityType type = context.getEntityType(clazz);
      if (null == type) {
        type = new EntityType(clazz);
      }
      return type;
    }
docs: <p>
  getEntityType.
  </p>
  
  @param clazz a {@link java.lang.Class} object.
  @return a {@link org.beangle.commons.entity.metadata.EntityType} object.