/**
* Return instance of Zf_Domain_Entity.
*
* @return Zf_Domain_Entity
* @throws Zf_DataSource_Dao_Exception
*/
public function getEntity()
{
if (null === $this->_entity) {
throw new Zf_DataSource_Dao_Exception('Entity not defined');
}
return clone $this->_entity;
}