Object replacement method, system and computer program product
First Claim
1. A method of amending an object oriented model comprising the steps of:
- a computer adding a registry listener to each object of a group of objects in an object oriented model, wherein each respective object inherits support for adding the registry listener and for notifying the registry listener about changes to relationships between the respective object and other objects of the group of objects;
the computer updating the registry to reflect changes to a relationship between an object and other objects of the group of objects, responsive to the registry listener receiving a notification about changes to the relationship between the object and other objects of the group of objects;
the computer identifying a first object to be added to the group of objects in the object oriented model;
the computer identifying a second object of the group of objects to be replaced by the first object;
the computer using the registry to retrieve a first set of one or more relationships between the second object and other objects of the group of objects; and
the computer using the first set of one or more relationships to configure the first object of the group of objects in the object oriented model so as to assume a second set of one or more relationships corresponding to the first set of one or more relationships with said other objects of the group of objects.
1 Assignment
0 Petitions
Accused Products
Abstract
Replacing an object in an object oriented model in a computer system, by interrogating the model to retrieve information defining the relationships between the object to be replaced and other components of the model is described. These relationship definitions are then used to configure the replacement object within the model so as to assume corresponding relationships with the other components. There may be established as a part of the model functions to detect changes to the relationships between objects belonging to the model, and recording the changes in a registry. This registry is then interrogated to retrieve relationship definitions necessary to replace an object.
-
Citations
12 Claims
-
1. A method of amending an object oriented model comprising the steps of:
-
a computer adding a registry listener to each object of a group of objects in an object oriented model, wherein each respective object inherits support for adding the registry listener and for notifying the registry listener about changes to relationships between the respective object and other objects of the group of objects; the computer updating the registry to reflect changes to a relationship between an object and other objects of the group of objects, responsive to the registry listener receiving a notification about changes to the relationship between the object and other objects of the group of objects; the computer identifying a first object to be added to the group of objects in the object oriented model; the computer identifying a second object of the group of objects to be replaced by the first object; the computer using the registry to retrieve a first set of one or more relationships between the second object and other objects of the group of objects; and the computer using the first set of one or more relationships to configure the first object of the group of objects in the object oriented model so as to assume a second set of one or more relationships corresponding to the first set of one or more relationships with said other objects of the group of objects. - View Dependent Claims (2, 3, 4)
-
-
5. A system for amending an object oriented model comprising:
-
a computer processor for executing instructions;
a memory coupled to the computer processor for storing said instructions;means for adding a registry listener to each object of a group of objects in an object oriented model, wherein each respective object inherits support for adding the registry listener and for notifying the registry listener about changes to relationships between the respective object and other objects of the group of objects; means for updating the registry to reflect changes to a relationship between an object and other objects of the group of objects, responsive to the registry listener receiving a notification about changes to the relationship between the object and other objects of the group of objects; means for identifying a first object to be added to the group of objects in the object oriented model; means for identifying a second object of the group of objects to be replaced by the first object; means for using the registry to retrieve a first set of one or more relationships between the second object and other objects of the group of objects; and means for using the first set of one or more relationships to configure the first object of the group of objects in the object oriented model so as to assume a second set of one or more relationships corresponding to the first set of one or more relationships with said other objects of the group of objects. - View Dependent Claims (6, 7, 8)
-
-
9. A computer program product comprising a non-transitory computer readable medium having computer instructions, said instructions which when loaded on a computer system implement a method of amending an object oriented model, said method comprising the steps of:
-
adding a registry listener to each object of a group of objects in an object oriented model, wherein each respective object inherits support for adding the registry listener and for notifying the registry listener about changes to relationships between the respective object and other objects of the group of objects; updating the registry to reflect changes to a relationship between an object and other objects of the group of objects, responsive to the registry listener receiving a notification about changes to the relationship between the object and other objects of the group of objects; identifying a first object to be added to the group of objects in the object oriented model; identifying a second object of the group of objects to be replaced by the first object; using the registry to retrieve a first set of one or more relationships between the second object and other objects of the group of objects; and using the first set of one or more relationships to configure the first object of the group of objects in the object oriented model so as to assume a second set of one or more relationships corresponding to the first set of one or more relationships with said other objects of the group of objects. - View Dependent Claims (10, 11, 12)
-
Specification