Browse Prior Art Database

Recursive Composition Objects

IP.com Disclosure Number: IPCOM000108066D
Original Publication Date: 1992-Apr-01
Included in the Prior Art Database: 2005-Mar-22
Document File: 2 page(s) / 74K

Publishing Venue

IBM

Related People

Inniss, HA: AUTHOR [+4]

Abstract

A methodology is described which defines container objects which are capable of containing constructs that contain the objects themselves. This allows enriched functionality when defining containers in an object-oriented environment.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Recursive Composition Objects

       A methodology is described which defines container
objects which are capable of containing constructs that contain the
objects themselves.  This allows enriched functionality when defining
containers in an object-oriented environment.

      Particularly in an object-oriented computer environment, it is
desirable to represent logical groupings of objects such that the
reference to the group of objects is that of a container.  For
example, an object on a computer desktop may be a file cabinet icon
which logically breaks down into file drawers, folders and booklets.
Folders may contain references to computer directories, drives, etc.
This article describes a method for defining an object called a
recursive composition object (RCO).  This object is a container
object which may contain two types of elements, namely, a static
element and a dynamic element.  A static element is an instance of
another object or entity which is placed into the container as a
copy.  Changes to the original entity which the static element was
copied from do not affect the copy.  A dynamic element is copied into
the recursive composition object as a reference (e.g., pointer) so
that any changes reflected in the original are immediately reflected
in the dynamic element.  Thus, a recursive composition object can
contain whole elements or references to elements which still appear
as contained within the composition object.  The extraordinary
feature of a recursive composition object (RCO) is that the elements
contained can point to their logical containers even though the RCO
resides beneath those logical...