public function setTitleRecord (TitleRecord $record)
    {
        $this->unsetTitleRecord();
        if (!$record->containsLocalRecord($this)) {
            $record->addLocalRecord($this);
        }
        $this->_parent = $record;
    }
public function setTitleRecord (TitleRecord $record)
    {
        $this->unsetTitleRecord();
        if (!$record->containsLocalRecord($this)) {
            $record->addLocalRecord($this);
        }
        $this->_parent = $record;
    }
public function setTitleRecord ( TitleRecord $ record ) { $ this -> unsetTitleRecord ( ) ; if ( ! $ record -> containsLocalRecord ( $ this ) ) { $ record -> addLocalRecord ( $ this ) ; } $ this -> _parent = $ record ; }
Set the containing title record.

@param  TitleRecord $record Title record
@return void
Set the containing title record .