The <javaMethodPrimitive> element specifies the return value of the method or constructor as a primitive type, such as int.
The return Type variables in the Java language can have a primitive or reference data type. Possible alternative definitions of the <javaMethodPrimitive> element are the javaMethodClass, javaMethodInterface, javaMethodArray and javaVoid elements.
This element has the following predefined attributes: name ="type" and value ="boolean | byte | char | double | float | int | long | short" .
<javaMethod id="com.ibm.xtools.ras.impord.engine.tasks.IImportEngineTask"> <apiName>getPriority</apiName> <shortdesc>Retrieve the priority of the task.</shortdesc> <javaMethodDetail> <javaMethodDef> <javaMethodAccess value="public"/> <javaReturn> <javaMethodPrimitive value="int"/> <apiDefNote>priority of the task in the range 0..100..</apiDefNote> </javaReturn> </javaMethodDef> <apiDesc>This corresponds to the priority attribute defined in the importEngineTask extension point</apiDesc> </javaMethodDetail> </javaMethod>