/** * Get the single CompanyDO object that refers to the DO held by this BDO. * * @return CompanyDO object. * @exception DataObjectException If the object is not found in the database. * @exception NonUniqueQueryException If more than one CompanyDO object was found. */ public jobmatch.data.CompanyDO getCompanyDO() throws DataObjectException, NonUniqueQueryException, QueryException { jobmatch.data.CompanyQuery q = new jobmatch.data.CompanyQuery(); q.setQueryIndustry(DO); q.requireUniqueInstance(); return q.getNextDO(); }