Table 84 summarizes the member variables of the
ContentType class.
Table 84. Member variables of the ContentType class.
Member variable | Description | Page |
---|---|---|
BinaryFile | Indicates that the ODA generates binary files as its content. | BinaryFile |
BusinessObject | Indicates that the ODA generates business object definitions as its content. | BusinessObject |
Indicates that the ODA generates binary files as its content.
Type
public static final ContentType BinaryFile
Notes
The contentType member variable indicates that the ODA supports generation of binary files as content. Therefore, the ODA implements the IGeneratesBinFiles interface. File content can be generated using either of the content protocols:
For more information, see Generating binary files as content.
Indicates that the ODA generates business object definitions as its content.
Type
public static final ContentType BusinessObject
Notes
The contentType member variable indicates that the ODA supports generation of business object definitions as content. Therefore, the ODA implements the IGeneratesBoDefs interface. Business-object-definition content must be generated using the on-request content protocol, which requires that the ODA implement the generateBoDefs() method to handle generation of the business object definitions. For more information, see Generating business object definitions as content.