code: public <C extends Model> LazyList<C> getAll(Class<C> clazz) {
          List<Model> children = cachedChildren.get(clazz);
          if(children != null){
              return (LazyList<C>) children;
          }
  
  //        String tableName = Registry.instance().getTableName(clazz);
  //        if(tableName == null) throw new IllegalArgumentException("table: " + tableName + " does not exist for model: " + clazz);
  
          return get(clazz, null);
      }
docs: This methods supports one to many, many to many relationships as well as polymorphic associations.
  <p></p>
  In case of one to many, the <code>clazz</code>  must be a class of a child model, and it will return a
  collection of all children.
  <p></p>
  In case of many to many, the <code>clazz</code>  must be a class of a another related model, and it will return a
  collection of all related models.
  <p></p>
  In case of polymorphic, the <code>clazz</code>  must be a class of a polymorphically related model, and it will return a
  collection of all related models.
  
  
  @param clazz class of a child model for one to many, or class of another model, in case of many to many or class of child in case of
  polymorphic
  
  @return list of children in case of one to many, or list of other models, in case many to many.