Browse Prior Art Database

Automated Rule-based Object Generalization Methodology

IP.com Disclosure Number: IPCOM000167050D
Original Publication Date: 2008-Jan-30
Included in the Prior Art Database: 2008-Jan-30
Document File: 2 page(s) / 29K

Publishing Venue

IBM

Abstract

Disclosed is a methodology for designing and implementing well-defined, uniform interfaces which are then utilized by client applications. This methodology is based upon mapping/transformation rules that intelligently normalize and generalize the interfaces of the target artifacts.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 72% of the total text.

Page 1 of 2

Automated Rule-based Object Generalization Methodology

During development, tooling would be provided to allow modification of the original artifacts to add in the appropriate methods, according to the defined mapping/transformation rules.

Examples of mapping/transformation rules include
one-to-one mapping of an existing method name matching a given pattern to a name constructed using naming rules (based on the original name). The new method calls the original method with additional code template around the method invocation. something more complicated (as dictated by the problem domain.)

In general, the mapping/transformation is most useful if it could take advantage of information that is available at development time to simplify the job that the wrapper classes need to do in performing the dynamic invocation. Let's assume that we have class A with method M1 and class B with method M2 that perform essentially the same function. If as part of the transformation step, we generate a new method M in both class A and class B (these will in turn call the appropriate original methods), then at runtime, the wrapper classes could invoke the method of known name (M). Without these additional methods, the wrapper classes will have to figure out which of the original methods to call, which could be expensive or even ambiguous at runtime.

The Wrapper classes implement a well-defined uniform interface that is appropriate for use by the...