An empty Representation
The representation data
The representation metadata
Optional
binary: booleanWhether the representation is a binary or object stream
The representation data
The representation metadata
Optional
contentType: stringThe representation's content type
Optional
binary: booleanWhether the representation is a binary or object stream
The representation data
The representation's content type
Optional
binary: booleanWhether the representation is a binary or object stream
The representation data
The representation's identifier
Optional
metadata: MetadataRecordThe representation metadata
Optional
binary: booleanWhether the representation is a binary or object stream
The representation data
The representation's identifier
Optional
contentType: stringThe representation's content type
Optional
binary: booleanWhether the representation is a binary or object stream
Readonly
binaryWhether the data stream consists of binary/string chunks (as opposed to complex objects).
Readonly
dataThe raw data stream for this representation.
Readonly
metadataThe corresponding metadata.
Data should only be interpreted if there is a content type.
Class with various constructors to facilitate creating a representation.
A representation consists of 1) data, 2) metadata, and 3) a binary flag to indicate whether the data is a binary stream or an object stream.