/**
  * Get the associated TipoGasto object
  *
  * @param      PropelPDO Optional Connection object.
  * @return     TipoGasto The associated TipoGasto object.
  * @throws     PropelException
  */
 public function getTipoGasto(PropelPDO $con = null)
 {
     if ($this->aTipoGasto === null && $this->tipo !== null) {
         $c = new Criteria(TipoGastoPeer::DATABASE_NAME);
         $c->add(TipoGastoPeer::ID, $this->tipo);
         $this->aTipoGasto = TipoGastoPeer::doSelectOne($c, $con);
         /* The following can be used additionally to
         		   guarantee the related object contains a reference
         		   to this object.  This level of coupling may, however, be
         		   undesirable since it could result in an only partially populated collection
         		   in the referenced object.
         		   $this->aTipoGasto->addGastoss($this);
         		 */
     }
     return $this->aTipoGasto;
 }