Method and system of adapting a data model to a user interface component
AssigneeInternational Business Machines Corporation
InventorsThomas Baudel, Frederic Delhoume
Life of this patent
Estimating the term…
Abstract
A display of a source data model on a user interface component being associated with a target data model is provided. The source data model and the target data model comprise a collection of data types (class/object), each including a set of name and type attributes. For each source data type of the source data model, a matching target data type is determined among said target data types in the target data model. Said source data type is linked to said matching target data type. A display of said source data model using said link between a source data type and a target data type.
Claims23
A method of adapting a source data model for display in a user interface component, said source data model including a collection of source data types, each comprising a set of source attributes, said user interface component being associated with a target data model including a collection of target data types, each comprising a set of target attributes, wherein the method comprises:
- for each source data type,
- for each target data type in the target data model,
- selecting a first set of target attributes among the attributes of said target data type;
- determining a score value for each attribute pair formed by a target attribute in said first set of target attributes and a source attribute in said source data type based on a set of matching rules;
- and
- determining a target type score for said target data type based on the score value computed for each attribute pair;
- and
- determining a matching target data type for said source data type based on the target type score determined for each target data type;
- binding said source data type to said target data type using a binding data structure;
- and
- generating a display of said source data model to said user interface component based on said binding data structure for each said source data type.
(canceled)
(canceled)
(canceled)
A computer program product for adapting a source data model for display in a user interface component, said source data model including a collection of source data types, each comprising a set of source attributes, said user interface component being associated with a target data model including a collection of target data types, each comprising a set of target attributes, the computer program product comprising:
- a computer readable medium having program code embodied therein, the program code, when executed by a processor of a computer, is configured to perform:
- for each source data type,
- for each target data type in the target data model,
- selecting a first set of target attributes among the attributes of said target data type;
- determining a score value for each attribute pair formed by a target attribute in said first set of target attributes and a source attribute in said source data type based on a set of matching rules;
- and
- determining a target type score for said target data type based on the score value computed for each attribute pair;
- determining a matching target data type for said source data type based on the target type score determined for each target data type;
- and
- binding said source data type to said target data type using a binding data structure;
- and
- generating a display of said source data model to said user interface component based on said binding data structure for each said source data type.
A system for adapting a source data model for display in a user interface component, said source data model including a collection of source data types, each comprising a set of source attributes, said user interface component being associated with a target data model including a collection of target data types, each comprising a set of target attributes, comprising:
- a processor;
- and
- memory coupled to the processor,
- wherein the memory has stored thereon a program, and
- wherein the processor is configured to execute instructions of the program to perform operations, wherein the operations comprise:
- for each source data type,
- for each target data type in the target data model,
- selecting a first set of target attributes among the attributes of said target data type;
- determining a score value for each attribute pair formed by a target attribute in said first set of target attributes and a source attribute in said source data type based on a set of matching rules;
- and
- determining a target type score for said target data type based on the score value computed for each attribute pair;
- determining a matching target data type for said source data type based on the target type score determined for each target data type;
- and
- binding said source data type to said target data type using a binding data structure;
- and
- generating a display of said source data model to said user interface component based on said binding data structure for each said source data type.
Dependencies are inferred from the claim text.