Method for managing dynamic relations between objects in dynamic object-oriented languages
First Claim
1. A system for dynamically linking a first object instance and a second object instance written using a dynamic object-oriented language, comprising at least one semantic link relating said first and said second objects instances through their class interfaces using the dynamic binding capabilities of said first and second objects wherein the semantic link comprises:
- a third object instance that sets at least one probe on a field of the object instance, the probe causing the third object instance to perform an action on the second object instance if the field changes andproperties controlling the behavior of the third object instance, the propertiesnot being changed at runtime andbeing stored separately from program code.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system for creating named relations between classes in a dynamic object-oriented programming environment via mappers is disclosed. The mapping objects dynamically bind to the class interfaces of the classes being related. These connections between classes are defined within a visual environment. The relationships can be programmatically attached by name to object instances during program execution. Because these relationships are stored in a resource and are dynamically bound by name to the objects, they can be created and modified without requiring the source code of the objects being associated to be changed. This eliminates hard coded dependencies between objects that impede reuse of the objects in other contexts. The invention requires and takes full advantage of, meta-data, full dynamic binding and probing support in the objects being connected with the invention.
839 Citations
33 Claims
-
1. A system for dynamically linking a first object instance and a second object instance written using a dynamic object-oriented language, comprising at least one semantic link relating said first and said second objects instances through their class interfaces using the dynamic binding capabilities of said first and second objects wherein the semantic link comprises:
-
a third object instance that sets at least one probe on a field of the object instance, the probe causing the third object instance to perform an action on the second object instance if the field changes and properties controlling the behavior of the third object instance, the properties not being changed at runtime and being stored separately from program code. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method of establishing communication between a first object instance and a second object instance, the first object and the second object written using a dynamic object-oriented language, the method comprising:
-
instantiating a third object instance, the third object instance having properties that are not changed at runtime and are stored separately from program code; the third object instance setting a first probe on the first object; and based on the probe, if a field changes in the first object instance, communicating with the second object instance. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A method of dynamically linking a first object instance and a second object instance written using a dynamic object-oriented language, the method comprising;
-
instantiating a third object instance, the third object instance having properties controlling the behavior of the third object instance, the properties being stored separately from program code; the third object instance setting a probe on a field of said first object instance, the third object instance setting the probe using a class interface of the first object instance; and the probe causing the third object instance to perform an action an the second object instance if the field changes. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33)
-
Specification