contentUnavailable()

Notifies Business Object Wizard that the ODA does not support generation of the specified content, even though it implements the corresponding interface.

Syntax

public static ContentMetaData contentUnavailable(ContentType contentType);
 

Parameters

contentType
Is the ContentType object that identifies the content type of the unavailable generated content.

Return values

A ContentMetaData object that describes the unavailable generated content.

Notes

The contentUnavailable() method indicates that the ODA does not generate content of the contentType content type. For example, if an ODA supports only a callback content protocol for a particular content type, Business Object Wizard never calls its content-generation method (generateBoDefs() for business-object-definition content or generateBinFiles() for binary-file content). Therefore, the content-generation method can call contentUnavailable() as its return value to Business Object Wizard.

Copyright IBM Corp. 1997, 2003