javaFieldInterface

The <javaFieldInterface> element specifies within the Data Type declaration that the value of the field must be an object of a class that implements the interface.

Description

The keyref attribute must provide a unique key such as a fully qualified class name for the named API item.

Example

Click on the following link to open the Java API topic type example in
<javaField id="com.ibm.xtools.ras.profile.defauld.component.defaultcomponentprofile">
   <apiName>eINSTANCE</apiName>
   <shortdesc>The singleton instance of the package.</shortdesc>
   <javaFieldDetail>
     <javaFieldDef>
       <javaFinalField/>
       <javaStaticField/>
       <javaFieldAccess value="public"/>
       <javaFieldInterface keyref="DefaultcomponentprofilePackage">
          DefaultcomponentprofilePackage</javaFieldInterface>
     </javaFieldDef>
   </javaFieldDetail>
</javaField>

Processing Expectations

Contained by

javaFieldDef

Content model

(text data) (any number)

Inheritance

topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier