Table 79 summarizes the member variables of the
ContentMetaData class.
Table 79. Member variables of the ContentMetaData class.
Member variable | Description | Page |
---|---|---|
contentType | Indicates the content type for the generated content. | contentType |
count | Specifies the total number of content elements in the requested content. | count |
length | Specifies the total length, in bytes, of the requested content. | length |
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 meta-data 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-meta-data object whose contentType member variable corresponds to the type of content generated.
Specifies the total number of content elements in the requested content. This count value must be greater than zero (0).
Type
public long count
Specifies the total size of the requested content, in bytes. If the content's length is unknown, assign a length of zero (0).
Important |
---|
Business Object Wizard does not currently use the length member variable. Therefore, this member variable should be initialized to a "null" value, such as zero (0) or -1. |
Type
public long length