def set(self, document_id):
        """
        Associate this document with a ProvStore document without making any calls to the API.
        :param int document_id: ID of the document on ProvStore
        :return: self
        """
        if not self.abstract:
            raise ImmutableDocumentException()
        self._id = document_id

        return self