摘要 |
Embodiments of the invention provide for an action to be performed on a targ et model based on changes in the notify model. The difference between this, and the previous examples, is that in the previous examples, the actions are performed against the notify model, not t he target model. When an action needs to be performed based on a change in the target model, the previous examples of behavior are inadequate. Because the target model does not notify that it ha s been changed, a correlation between the notify model and target model will be used to determine what has changed in the target model. Given that the notify model and the target model are representations of the same data, if the notify model sends an event notification (which indicates that a change has occurred in the notify model), it can be deduced that the corresponding item in the targ et model has been changed, too. Based on the changes made in the notify model, and using a mapping of the linkages associating objects in the notify model to objects in the target model, the objects in the target model affected by the changes in the notify model are identified. The action (e.g. , a validation check) is performed only on the changed parts of the target model.
|