Object replacement method, system and computer program product
First Claim
1. A computer implemented method of amending an object oriented model comprising the steps of:
- adding a registry listener to each object of the group of objects in the 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;
responsive to the registry listener receiving a notification of changes to a relationship between the object and other objects in a group of objects, updating a registry to reflect changes to the relationship between the object and the other object group objects, wherein the registry comprises a referencing object and a referenced object for the object, and wherein updating the registry comprises steps of;
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;
the computer using the registry to retrieve a first set of one or more relationships between the second object and other object 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 the other objects of the group of objects.
0 Assignments
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
17 Claims
-
1. A computer implemented method of amending an object oriented model comprising the steps of:
-
adding a registry listener to each object of the group of objects in the 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; responsive to the registry listener receiving a notification of changes to a relationship between the object and other objects in a group of objects, updating a registry to reflect changes to the relationship between the object and the other object group objects, wherein the registry comprises a referencing object and a referenced object for the object, and wherein updating the registry comprises steps of; 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; the computer using the registry to retrieve a first set of one or more relationships between the second object and other object 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 the other objects of the group of objects. - View Dependent Claims (2, 3, 4, 14, 15)
-
-
5. A method, executed by a hardware processor, comprising the steps of:
-
notifying an inherited registry listener of changes to relationships between objects belonging to a model; recording said changes received by the inherited registry listener in a registry by updating the registry to reflect the changes to the relationships between the objects, wherein the registry comprises a referencing object and a referenced object for the objects; and providing relationship definitions concerning one or more of said objects upon interrogation, of the registry, wherein the provided relationship definitions reflect the changes.
-
-
6. 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 that are operable, when executed by the computer processor, to perform steps of; adding a registry listener to each object of the group of objects in the 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 a registry to reflect changes to the relationship between the object and the other object group objects in response to the registry listener receiving a notification of changes to a relationship between the object and other objects in a group of objects, wherein the registry comprises a referencing object and a referenced object for the object, and wherein updating the registry comprises steps of; 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 object 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 the other objects of the group of objects. - View Dependent Claims (7, 8, 9, 16, 17)
-
-
10. 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 the group of objects in the 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; responsive to the registry listener receiving a notification of changes to a relationship between the object and other objects in a group of objects, updating the registry to reflect changes to the relationship between the object and the other object group objects, wherein the registry comprises a referencing object and a referenced object for the object, and wherein updating the registry comprises steps of; 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 object 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 the other objects of the group of objects. - View Dependent Claims (11, 12, 13)
-
Specification