public function setPrimaryModel(Model $model) {
        $this->_model = $model;
        $this->setPrimaryClass(get_class($model));

        return $this;
    }
public function setPrimaryModel(Model $model) {
        $this->_model = $model;
        $this->setPrimaryClass(get_class($model));

        return $this;
    }
public function setPrimaryModel ( Model $ model ) { $ this -> _model = $ model ; $ this -> setPrimaryClass ( get_class ( $ model ) ) ; return $ this ; }
Set the primary model object.

@param \Titon\Model\Model $model
@return $this
Set the primary model object .