supportedContent

Contains a vector that describes which content protocol the ODA supports for each of its supported content types.

Type

public Vector supportedContent
 

Notes

The supportedContent member variable stores a Java java.util.Vector of ContentProtocol objects that describe what generated content the ODA supports. Each ContentProtocol object contains the following information:

Content-generation information Description
Content type

A ContentType object, which lists one of the supported content types:

  • BusinessObject
  • BinaryFile

Content protocol

A mask of the content-protocol constants to indicate the content protocols supported for the specified content type:

  • CONTENT_PROTOCOL_ONREQUEST
  • CONTENT_PROTOCOL_CALLBACK

Content-protocol constants are defined in the ODKConstant interface.

Note:
The ContentProtocol class is part of the ODAInfrastructure package, which contains the classes that the ODA runtime and Business Object Wizard use. This package is not surfaced to ODA developers. All access to ContentProtocol objects is handled by the ODA runtime or Business Object Wizard. An ODA does not access objects of this class directly.

The AgentMetaData() constructor initializes the supportedContent member variable by querying the ODA object that it receives as an argument. You do not have to explicitly initialize this member variable.

Copyright IBM Corp. 1997, 2004