public EntityType getEntityType(Class<?> clazz) {
    EntityType type = context.getEntityType(clazz);
    if (null == type) {
      type = new EntityType(clazz);
    }
    return type;
  }
public EntityType getEntityType ( Class < ? > clazz ) { EntityType type = context . getEntityType ( clazz ) ; if ( null == type ) { type = new EntityType ( clazz ) ; } return type ; }
<p>
getEntityType.
</p>

@param clazz a {@link java.lang.Class} object.
@return a {@link org.beangle.commons.entity.metadata.EntityType} object.