code: <T extends Entity> T getRelation(Class<T> valuesClass, String name) {
          return getRelation(valuesClass, name, true);
      }
docs: Get a relation by name for this entity.
  
  @param valuesClass Class type of T.
  @param name Name of the relation attribute.
  @return The related asset.