The <javaFieldPrimitive> element specifies within the Data Type declaration that the field must have a value of the specified primitive type, such as int.
The variables in the Java language can have a primitive or reference data type. Arrays, classes, and interfaces are reference types and represented by the <javaFieldClass> and <javaFieldInterface> elements. In contrast, the value of a reference type variable is a reference to the actual value or set of values represented by the variable. This element has the following predefined attributes: name ="type" and value ="boolean | byte | char | double | float | int | long | short" .
<javaField id="com.ibm.xtools.ras.impord.engine.tasks.IImportEngineTask"> <apiName>PRIORITY_MAX</apiName> <shortDesc>The maximum value of the priority attribute.</shortDesc> <javaFieldDetail> <javaFieldDef> <javaFinalField/> <javaStaticField/> <javaFieldAccess value="public" /> <javaFieldPrimitive name=”type” value=”int”/> </javaFieldDef> </javaFieldDetail> <related-links> <link href=”http://java.sun.com/values.html#PRIORITY_MAX” format=”html” scope=”external”> <linktext>Constant Field Values</linktext> </link> </related-links> </javaField>