Method and system for on-demand programming model transformation
AssigneeInternational Business Machines Corporation
InventorsManeesh Goyal, Daniel D. Leroux
Life of this patent
Estimating the term…
Abstract
A computer method and system provides on-demand transformation between objects of a source programming model and corresponding objects in a target programming model. For different source objects in the source programming model, the invention creates respective target objects. For every created target object, the invention system and method create a respective proxy object. Where a source object has multiple features, the proxy object triggers transformation of a feature only upon access of that feature and the corresponding target object. The present invention operates transparently to a client. Thus, clients do not have to call transform on the feature (children and references) of the source object before accessing any feature of the target object.
Claims16
A computer method for providing on-demand transformation between objects of a source programming model and corresponding objects in a target programming model, comprising the steps of:
- for different source objects in the source programming model, creating respective target objects;
- and
- for every created target object, creating a respective proxy object, where a source object has multiple features, the proxy object triggering transformation of a feature upon access of that feature and the corresponding target object, instead of upon creation of the target objects.
Computer apparatus for providing on-demand transformation between objects of a source programming model and corresponding objects in a target programming model, comprising:
- a digital processor enabling a respective target object for each different source object in the source programming model;
- and
- for each target object, a respective proxy object executable by the digital processor, where a source object has multiple features, the proxy object triggering transformation of a feature upon access of that feature and the corresponding target object.
A computer system for providing on-demand transformation between objects of a source programming model and corresponding objects in a target programming model, comprising:
- transformation adapting means in a digital processor for creating a respective target object for each different source object in the source programming model;
- and
- processor means for triggering transformation of a feature of a source object only upon access of that feature and a corresponding target object, wherein the triggering being performed by a proxy object.
A computer program product having a computer readable storage medium carrying instructions for controlling a digital processor to provide on-demand transformation between objects of a source programming model and corresponding objects in a target programming model, by carrying out the steps of:
- for different source objects in the source programming model, creating respective target objects;
- and
- for every created target object, creating a respective proxy object, where a source object has multiple features, the proxy object triggering transformation of a feature upon access of that feature and the corresponding target object instead of upon creation of the target objects.
Dependencies are inferred from the claim text.