# Class: DocumentReferenceAndOptionalMetadata

## tibco.objectapi.bds.document.DocumentReferenceAndOptionalMetadata

#### new DocumentReferenceAndOptionalMetadata()

A document reference and, optionally, metadata. Constructs a new DocumentReferenceAndOptionalMetadata.

The following features are supported:

- `Reference`
- `Metadata`

### Members

#### metadata :tibco.objectapi.bds.document.DocumentMetadata

This property holds the value of the 'Metadata' containment reference.

##### Type:

- tibco.objectapi.bds.document.DocumentMetadata

#### reference :string

A reference to a document in the document store This property holds the value of the 'Reference' attribute.

##### Type:

- string