Declarative Mapping and Custom Exits for Model Metadata Conversion

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current model integration tools are cumbersome and lack ease of use, requiring manual effort for implementing new integration tools and do not allow developers to influence generated models, making it difficult to convert metadata between different modeling environments like Eclipse and MOIN.

Innovation Solution

A computer-implemented method provides a declarative mapping between metamodels and custom programmable rules to convert metadata between different modeling environments, enabling seamless import and export of models between Eclipse and MOIN, using a combination of declarative mapping and custom exits.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If manual implementation of integration tools is used, then flexibility in creating custom metamodels is improved, but device complexity and effort required increases

Engineering Contradiction:
Improveflexibility in creating custom metamodelsVSAvoidcomplexity of integration tools
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The integration tool is segmented into modular components: a declarative mapping layer that defines relationships between metamodels, and a code generation layer that automatically produces import/export tools. This segmentation allows users to configure custom metamodels through simple mappings without implementing complex integration logic manually.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary actions by automatically generating import and export tool code based on the declarative mappings between metamodels. This pre-generation of integration tools eliminates the need for manual implementation while maintaining flexibility, as the generated code can be customized through the declarative mapping configuration.

Inventive Principle:
Principle #10Preliminary action

2Device complexity

If fixed metamodels are used, then device complexity is reduced, but adaptability to changing business logic deteriorates

Engineering Contradiction:
Improvesimplicity of metamodeling frameworkVSAvoidadaptability to business logic changes
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The system enables dynamic metamodeling by allowing users to define custom metamodels through declarative mappings that can be configured and modified without changing the underlying framework. This dynamic approach lets the system adapt to changing business logic while maintaining a simple fixed framework structure.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system allows parameter changes in metamodel definitions through the declarative mapping language, where users can specify relationships, attributes, and constraints that define custom metamodels. This enables adaptation to different business domains and logic changes without modifying the core framework parameters.

Inventive Principle:
Principle #35Parameter changes

3Manufacturing precision

If custom programmable rules are added to declarative mapping, then manufacturing precision of metadata conversion is improved, but device complexity increases

Engineering Contradiction:
Improveprecision of metadata conversionVSAvoidcomplexity of mapping system
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The mapping system is segmented into two distinct layers: a declarative mapping layer that handles standard conversions, and a custom programmable rules layer that handles complex transformations. This segmentation allows users to add precision for specific cases through custom rules without making the entire mapping system complex.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system introduces an intermediary layer of custom exits that act as mediators between the declarative mapping and the metadata conversion process. These custom exits provide additional precision for complex conversions while maintaining a clean separation from the core declarative mapping system.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Productivity

If automated code generation is used, then productivity is improved, but ease of operation deteriorates due to lack of developer influence

Engineering Contradiction:
Improvespeed of integration tool developmentVSAvoiddeveloper control over generated models
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The code generation process is made dynamic by allowing developers to influence the generated models through declarative mapping configurations and custom programmable rules. Developers can control aspects like mapping relationships, data type conversions, and validation rules, while the system automatically generates the integration tool code.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system incorporates feedback mechanisms that allow developers to review and adjust the generated integration tools based on their requirements. The declarative mapping specifications and custom rules provide feedback loops where developers can refine the generated code to match their operational needs while maintaining high productivity.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS8112738B2Apparatus and method of customizable model import and export to and from XML schema formats
Publication Date: 2012.02.07 SAP SE
  • US8112738B2 patent drawing
  • US8112738B2 patent drawing
  • US8112738B2 patent drawing

AI summary

In one embodiment the present invention includes a computer-implemented method of converting first metadata to second metadata using a mapping and custom exits. The metadata is at the M1 level and the mapping is generated based on information at the M2 level. The custom exits provide programmable mapping rules in addition to the mapping. In this manner, metadata created in one modeling environment may be used in another modeling environment.