getDescription ( ) { String }

Returns the model's description.

Returns

The model's description.

getId ( ) { ID }

Returns the model's ID.

Returns

The ID of the model.

getName ( ) { String }

Returns the model's name

Returns

The name of the model.

getRecord ( opts: Object ) { Record }

Returns the Record.

Parameters
Name Type Description
opts Object

test.

Returns

The query's result set.

getType ( ) { String }

Returns the type of the model.

Returns

The type of the model. The type can be either 'document' or 'data'.

isDocument ( ) { Boolean }

Convenience function that returns true if the model's type is 'document'.

Returns

True or false depending on if the model's type is 'document'.

isExportable ( ) { Boolean }

Returns true if the model is marked as exportable.

Returns

True if the model is marked as exportable.