public function setThrowIfEmptyId($throwOnEmptyId)
    {
        if (empty($this->mappingOptions)) $this->resetMappingOptions();

        $this->mappingOptions->throwOnEmptyId = $throwOnEmptyId;

        return $this;
    }
public function setThrowIfEmptyId($throwOnEmptyId)
    {
        if (empty($this->mappingOptions)) $this->resetMappingOptions();

        $this->mappingOptions->throwOnEmptyId = $throwOnEmptyId;

        return $this;
    }
public function setThrowIfEmptyId ( $ throwOnEmptyId ) { if ( empty ( $ this -> mappingOptions ) ) $ this -> resetMappingOptions ( ) ; $ this -> mappingOptions -> throwOnEmptyId = $ throwOnEmptyId ; return $ this ; }
Throw an exception if the main id doesn't get mapped?

@param $throwOnEmptyId
@return $this
Throw an exception if the main id doesn t get mapped?