preloader
Manual
instanceOf: DClass

Scope: Model, Metamodel

Return all the instances of a given metaclass.

Example

Given a metaclass called Person, then all the instances of Person can be given by the following two expressions:

data.instanceOf.name === ‘Person’

data.instanceOf.id === ‘Pointerxxxxxxxxxxxxx_USER_yyyyy’

In the former expression, the metaclass (DClass) is identified by its name (that is univocous), where as in the latter one by means of its unique identifier. 

A deprecated version of this property is instanceof.

Leave a Reply

Your email address will not be published. Required fields are marked *