public function setModel($model)
    {
        $model->setSerializeNull($this->isSerializeNull());
        $this->setJson($model->toJson());

        return $this;
    }
public function setModel($model)
    {
        $model->setSerializeNull($this->isSerializeNull());
        $this->setJson($model->toJson());

        return $this;
    }
public function setModel ( $ model ) { $ model -> setSerializeNull ( $ this -> isSerializeNull ( ) ) ; $ this -> setJson ( $ model -> toJson ( ) ) ; return $ this ; }
Set Model.

@param EntityDataModel $model

@return InsertModel
Set Model .