# Class: QueryAndDocumentType

## tibco.objectapi.bds.document.QueryAndDocumentType

#### new QueryAndDocumentType()

Structure combining a CMISQL query string and optional document type. Constructs a new QueryAndDocumentType.

The following features are supported:

- `String`
- `Document Type`

### Members

#### documentType :string

e.g. claim:ClaimDocument Will default to cmis:document if not specified. This property holds the value of the 'Document Type' attribute.

##### Type:

- string

#### string :string

A CMISQL 'WHERE' clause This property holds the value of the 'String' attribute.

##### Type:

- string