public List<C> findAllChildren() {
        List<String> objects = getChildrenList();

        List<C> children = new ArrayList<C>();

        try {
            Model dummy = (Model) childClazz.newInstance();
            dummy.setContext(context);

            for (String id : objects) {
                children.add((C) dummy.find(id));
            }
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        } catch (InstantiationException e) {
            e.printStackTrace();
        }

        return children;
    }
public List < C > findAllChildren ( ) { List < String > objects = getChildrenList ( ) ; List < C > children = new ArrayList < C > ( ) ; try { Model dummy = ( Model ) childClazz . newInstance ( ) ; dummy . setContext ( context ) ; for ( String id : objects ) { children . add ( ( C ) dummy . find ( id ) ) ; } } catch ( IllegalAccessException e ) { e . printStackTrace ( ) ; } catch ( InstantiationException e ) { e . printStackTrace ( ) ; } return children ; }
Find all objects from the child list.

TODO: Figure out how to make this accesible without...
creating a dummy instance.

@throws com.mauriciogiordano.easydb.exception.NoContextFoundException in case of null context.
@return A list of all children.