The <apiOperationClassifier> element identifies a returned value that is an instance of a classifier, for example, the class of the returned object.
For an object to be created from a class, the class needs a constructor. At a glance, a constructor looks just like a method.
This element can provide an href attribute if the description of the API item is available. If the description is not available, the <apiOperationClassifier> element can provide the name of the API item in its contents.
The following example shows an <apiOperationClassifier> item for a VB.NET method:
<apiOperation id="rational.xde.getApplicableStereotypesAsString"> <apiName>getApplicableStereotypesAsString</apiName> <shortDesc>Returns a string that specifies the stereotype associated with the element.</shortDesc> <apiOperationDetail> <apiConstructorDef> <apiImpl>New</apiImpl> <apiType name="type" value="Sub"/> <apiQualifier name="access" value="public"/> <apiOperationClassifier href=”String.dita”>String</apiOperationClassifier> <apiDefNote>Returns a string that specifies the stereotypes.</apiDefNote> </apiConstructorDef> <apiDesc>This property searches all the profiles in the model.</apiDesc> </apiOperationDetail> </apiOperation>
apiConstructorDef, apiEvent, apiOperationDef, apiOperationDefItem, apiParam, apiReturn
topic/xref reference/xref apiRef/apiRelation