Пример #1
0
 /**
  * Get array of CompanyBDO objects holding CompanyDO objects that refer to the DO held by this
  * BDO.
  *
  * @return array of CompanyBDO objects.
  * @exception DataObjectException If the object is not found in the database.
  */
 public jobmatch.data.CompanyBDO[] getCompanyBDOArray()
     throws DataObjectException, QueryException {
   jobmatch.data.CompanyBDO[] ret = null;
   try {
     jobmatch.data.CompanyQuery q = new jobmatch.data.CompanyQuery();
     q.setQueryIndustry(DO);
     ret = q.getBDOArray();
   } catch (NonUniqueQueryException e) {
     throw new DataObjectException("INTERNAL ERROR: unexpected NonUniqueQueryException");
   } finally {
     if (null == ret) ret = new jobmatch.data.CompanyBDO[0];
   }
   return ret;
 }