Patent ID: 7305678

Claim:
A method for allocating a sequential identifier while processing a transaction, the method comprising: creating a transactional object for the transaction in an object-oriented environment, wherein the transactional object comprises an identifier data item; generating a pre-process object comprising the transactional object; adding the pre-process object to a list of pre-process objects that are to be processed prior to committing the transaction; processing the pre-process object, wherein processing the pre-process object allocates a sequential identifier value for the identifier data item; and committing the transaction; wherein the step of creating a transactional object for the transaction further comprises: instantiating an object of a first class, wherein the first class is a subclass of a second class, wherein the second class comprises a class variable for an identifier holder object; and instantiating the identifier holder object, wherein the identifier holder object comprises the identifier data item; generating an identifier management object for the transactional object; and setting the identifier management object within the identifier holder object; invoking a method of the identifier holder object to initiate allocation of the sequential identifier value during processing of the pre-process object; and invoking a method of the identifier management object to allocate the sequential identifier value for the identifier data item.