/** * Return array of BDOs constructed from ResultSet returned by query. * * @exception DataObjectException If a database access error occurs. * @exception NonUniqueQueryException If too many rows were found. */ public OperatingsystemProfileBDO[] getBDOArray() throws DataObjectException, NonUniqueQueryException { if (needToRun) runQuery(); OperatingsystemProfileBDO[] BDOs = new OperatingsystemProfileBDO[DOs.length]; for (int i = 0; i < DOs.length; i++) BDOs[i] = OperatingsystemProfileBDO.createExisting(DOs[i]); return BDOs; }
/** * Return successive BDOs from array built from ResultSet returned by query. * * @exception DataObjectException If a database access error occurs. * @exception NonUniqueQueryException If too many rows were found. */ public OperatingsystemProfileBDO getNextBDO() throws DataObjectException, NonUniqueQueryException { OperatingsystemProfileDO DO = getNextDO(); if (null == DO) return null; return OperatingsystemProfileBDO.createExisting(DO); }