public function next()
    {
        $row = $this->cursor->getNextItem();
        if ($row) {
            $beans = $this->repository->convertToBeans($this->type, array( $row ));
            $bean = array_shift($beans);
            return Model::wrap($bean);
        }
        return null;
    }