public DataList getDataList ( ) throws EFapsException { final DataList ret = new DataList ( ) ; while ( next ( ) ) { final ObjectData data = new ObjectData ( ) ; int idx = 1 ; for ( final Select select : this . selection . getSelects ( ) ) { final String key = select . getAlias ( ) == null ? String . valueOf ( idx ) : select . getAlias ( ) ; data . getValues ( ) . add ( JSONData . getValue ( key , get ( select ) ) ) ; idx ++ ; } ret . add ( data ) ; } return ret ; }
Gets the data list .