BOM to XOM mapping files
A BOM to XOM mapping file (.b2x) is
an XML file that stores the mapping between the BOM and the XOM.
Here is an example of a BOM to XOM mapping file:
<translation>
<class>
<businessName>MyClass</businessName>
<executionName>java.util.Vector</executionName>
<import>java.util.Vector</import>
<tester language="irl"><![CDATA[
String type = (String)this.get(0);
return type.equals("MyClass");
]]></tester>
<attribute>
<name>attribute</name>
<getter language="irl"><![CDATA[
Integer val = (Integer)this.get(1);
return val.intValue();
]]></getter>
<setter language="irl"><![CDATA[
this.set(1, new Integer(value));
]]></setter>
</attribute>
</class>
</translation>