The Object Discovery Agent Development Kit (ODK) API provides the ContentMetaData class to contain the metadata for the generated content of the Object Discovery Agent (ODA). Member variables of this class represent the ODA's content metadata. When the ODA generates its content, it must return a content-metadata object to describe the generated content. The method that returns the content metadata depends on the content protocol that the ODA supports, as follows:
Business Object Designer uses the content-metadata object to obtain information about the generated content for each of the content types that the ODA supports. To determine the supported generation protocols, Business Object Designer calls the ODA's getContentProtocol() method (from its IGeneratesContent class).
The ContentMetaData class defines the following: