To edit the .chae file, start the CHA Editor and click the Configuration tab in the Editor view of the CHA Editor. You can then go on editing the contents of the .chae file.
You can also use any text editor to edit the .chae file.
The following is a sample definition for FloatDescriptor:
<descriptor name="FloatDescriptor" javaClass="java.lang.Float"> <compatibleImplClass name="com.ibm.btt.base.DataField" /> <compatibleConverter name="FloatConverter" /> <compatibleValidator name="FloatValidator" /> <compatibleConverter name="DoubleConverter" /> <compatibleValidator name="DoubleValidator" /> </descriptor>
The following is a sample definition for FloatConverter:
<converter name="FloatConverter" implClass="com.ibm.btt.base.types.ext.FloatConverter"> <attribute name="convTypes" type="mandatory" defaultValue="default"> <allowValue value="default"/> <allowValue value="serialization"/> <allowValue value="output"/> <allowValue value="xml"/> <allowValue value="host"/> </attribute> <attribute name="implClass" type="mandatory"/> <attribute name="binaryConversion" type="optional"/> <attribute name="size" type="optional"> <allowValue value="4"/> <allowValue value="8"/> </attribute> <attribute name="byteOrdering" type="optional"> <allowValue value="0"/> <allowValue value="1"/> </attribute> </converter>
The following is a sample definition for FloatValidator:
<validator name="FloatValidator" implClass="com.ibm.btt.base.types.ext.FloatValidator"> <attribute name="implClass" type="mandatory"/> <attribute name="lowerLimit"/> <attribute name="upperLimit"/> </validator>