摘要 |
The invention disclosed is an object-oriented apparatus and method in a computer system that offers important advantages over current programming practice in representing and managing ownership relationships of objects. An object can be owned as a single object or within a list, and it can change owners over time and change from being owned as a single object to being owned in a list or the other way around. An ownable object provides an operation to replace itself with a different ownable object. Ownable objects provide operations telling whether they are owned and whether they are owned in a list. Referential integrity is automatically maintained while giving the high performance of using memory pointers stored directly within the related objects.
|