public function getRelation() {
        if (is_null($this->_relation) || $this->_relation->getRelationId() !== $this->getRelationId()) {
            $model = $this->loader->getModels()->getRespondentRelationModel();
            $relationObject = $model->getRelation($this->getRespondentId(), $this->getRelationId());
            $this->_relation = $relationObject;
        }

        return $this->_relation;
    }
public function getRelation() {
        if (is_null($this->_relation) || $this->_relation->getRelationId() !== $this->getRelationId()) {
            $model = $this->loader->getModels()->getRespondentRelationModel();
            $relationObject = $model->getRelation($this->getRespondentId(), $this->getRelationId());
            $this->_relation = $relationObject;
        }

        return $this->_relation;
    }
public function getRelation ( ) { if ( is_null ( $ this -> _relation ) || $ this -> _relation -> getRelationId ( ) !== $ this -> getRelationId ( ) ) { $ model = $ this -> loader -> getModels ( ) -> getRespondentRelationModel ( ) ; $ relationObject = $ model -> getRelation ( $ this -> getRespondentId ( ) , $ this -> getRelationId ( ) ) ; $ this -> _relation = $ relationObject ; } return $ this -> _relation ; }
Get the relation object if any

@return Gems_Model_RespondentRelationInstance
Get the relation object if any