public function setRemoteApp(RemoteApp $v = null)
    {
        if ($v === null) {
            $this->setRemoteAppId(NULL);
        } else {
            $this->setRemoteAppId($v->getId());
        }

        $this->aRemoteApp = $v;

        // Add binding for other direction of this n:n relationship.
        // If this object has already been added to the RemoteApp object, it will not be re-added.
        if ($v !== null) {
            $v->addApiLog($this);
        }


        return $this;
    }
public function setRemoteApp(RemoteApp $v = null)
    {
        if ($v === null) {
            $this->setRemoteAppId(NULL);
        } else {
            $this->setRemoteAppId($v->getId());
        }

        $this->aRemoteApp = $v;

        // Add binding for other direction of this n:n relationship.
        // If this object has already been added to the RemoteApp object, it will not be re-added.
        if ($v !== null) {
            $v->addApiLog($this);
        }


        return $this;
    }
public function setRemoteApp ( RemoteApp $ v = null ) { if ( $ v === null ) { $ this -> setRemoteAppId ( NULL ) ; } else { $ this -> setRemoteAppId ( $ v -> getId ( ) ) ; } $ this -> aRemoteApp = $ v ; // Add binding for other direction of this n:n relationship. // If this object has already been added to the RemoteApp object, it will not be re-added. if ( $ v !== null ) { $ v -> addApiLog ( $ this ) ; } return $ this ; }
Declares an association between this object and a RemoteApp object.

@param                  RemoteApp $v
@return ApiLog The current object (for fluent API support)
@throws PropelException
Declares an association between this object and a RemoteApp object .