Mapping a generic class to a nongeneric class

In certain circumstances, you must map a generic class to a nongeneric class.

About this task

It is quite common to map a generic class to another generic class. However, in certain cases, you must map a generic class to a nongeneric class. For example, the Java type java.lang.Class<T> is mapped to the System.Type .NET class.

Procedure

To map a generic class to a nongeneric class:

Write the following code:
<class genericParameterCount="1">
   <businessName>java.lang.Class</businessName>
   <executionName>System.Type</executionName>
</class>

Results

The mapping algorithm looks for a System.Type generic class with one generic parameter. Because it does not find any, it looks for a nongeneric version.