public function getRemoteApp(PropelPDO $con = null, $doQuery = true)
    {
        if ($this->aRemoteApp === null && ($this->remote_app_id !== null) && $doQuery) {
            $this->aRemoteApp = RemoteAppQuery::create()->findPk($this->remote_app_id, $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->aRemoteApp->addApiLogs($this);
             */
        }

        return $this->aRemoteApp;
    }