/** * Get the associated ImportJob object * * @param PropelPDO Optional Connection object. * @return ImportJob The associated ImportJob object. * @throws PropelException */ public function getImportJob(PropelPDO $con = null) { if ($this->aImportJob === null && $this->job !== null) { $c = new Criteria(ImportJobPeer::DATABASE_NAME); $c->add(ImportJobPeer::ID, $this->job); $this->aImportJob = ImportJobPeer::doSelectOne($c, $con); /* The following can be used additionally to guarantee the related object contains a reference to this object. This level of coupling may, however, be undesirable since it could result in an only partially populated collection in the referenced object. $this->aImportJob->addImportLogEntrys($this); */ } return $this->aImportJob; }