Rational Developer for System z

Generated annotations for language structures

This topic describes the annotations that are added to generated Enterprise PL/I structures in the WSDL2PLI scenario.

The WSDL2PLI code-generation process adds annotations to the source code to describe the relationships between the generated language structures and the XML schemas from which they are derived. The annotations appear as language comments immediately preceding the definitions of the language structures or language structure members to which they apply.

The following annotations are included in the structures generated for Enterprise PL/I. Notice that the last four annotations in the list are added for variables having the suffixes _bit, _cnt, _lim, _ptr (see Suffixes appended to PL/I identifiers):
Table 1.
Annotation: <value>: Corresponding PL/I identifier suffix:
@XPATH <value> The full path of the XSD element or attribute declaration that this structure or structure member is mapped to. N/A
@PRESENCE <value> The full path of the optional member that this member indicates the presence or absence of. _bit
@COUNT <value> The full path of the array member that this member contains the count of. _cnt
@LIMIT <value> The full path of the array member that this member describes the upperbound or limit of. _lim
@POINTER <value> The name of the language structure into which this variable stores the base address when a REFER object is allocated. _ptr


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)