Indicates the content type of the generated content.
Type
public ContentType contentType
Notes
The contentType member variable is a ContentType object that indicates the content type of the generated content that this content metadata describes. It must be set to the content type appropriate for the generated content, as Table 80 shows.
Content type | Value of contentType member variable |
---|---|
Business object definitions | ContentType.BusinessObject |
Binary files | ContentType.BinaryFile |
For example, when an ODA completes content generation, it must return a content-metadata object whose contentType member variable corresponds to the type of content generated.