Type safe data proxy
OwnerMichael Scharfinventor
Life of this patent
Estimating the term…
Abstract
Described is a method for reading a data structure in a first code language, generating an implementation of the data structure and executing a call to the implementation of the data structure to obtain information describing the data structure. The method further includes mapping the data structure to a generic data structure using the information and writing the generic data structure in a second code language, wherein access to the generic data structure is type-safe.
Claims17
A method, comprising:
- reading a data structure in a first code language;
- generating an implementation of the data structure;
- executing a call to the implementation of the data structure to obtain information describing the data structure;
- mapping the data structure to a generic data structure using the information;
- and
- writing the generic data structure in a second code language, wherein access to the generic data structure is type-safe.
A method, comprising:
- reading an interface, the interface including a method;
- generating an attribute for the method;
- inputting the attribute into a schema tree;
- and
- converting the schema tree into a concrete schema.
A system comprising a memory to store a set of instructions and a processor to execute the set of instructions, the set of instructions being operable to:
- read a data structure in a first code language;
- generate an implementation of the data structure;
- execute a call to the implementation of the data structure to obtain information describing the data structure;
- map the data structure to a generic data structure using the information;
- and
- write the generic data structure in a second code language, wherein access to the generic data structure is type-safe.
Dependencies are inferred from the claim text.