/**
  * Obtener un Prestamo único.
  * 
  * @param PrestamoDTO &$prestamoDTO
  */
 public function getPrestamo(PrestamoDTO &$prestamoDTO)
 {
     $prestamo = PrestamoDTO::toEntity($prestamoDTO);
     # Validamos los campos
     if (!EntityValidator::validateId($prestamo->getId())) {
         throw new Exception(SALAS_COMP_ALERT_E_VALIDATION_FAIL, $this->ID + 8);
     }
     # Obtenemos la entidad
     if (!$this->prestamoBean->getPrestamo($prestamo)) {
         throw new Exception(SALAS_COMP_ALERT_E_ENTITY_NOT_FOUND2_FAIL, $this->ID + 9);
     }
     $prestamoDTO->loadFromEntity($prestamo);
 }