Page History
Info | ||||
---|---|---|---|---|
| ||||
|
What is it?
An Instance is an actual instantiation of an entity and its associated attributes and/or relations. There are two types: static and dynamic. A static instance is specified in Blueriq StudioEncore. A dynamic instance is created at run-time.
What does it do?
Where an Entity plus Attribute and/or Relation represents the definition of something, an instance represents the actual object.
Properties
Property | Description |
---|---|
Entity | Choose the entity. |
Name | Identifies the object. Maximum 50 characters (only letters, numbers and underscores (_)) are allowed. |
Attribute Values | This table sums up the attribute type and name. The value can be edited here and made static. |
Relation Values | This column sums up the relations belonging to the chosen entity. The value can be edited here and made static. |
How to – refer to a specific static instance in an expression
It is is possible to refer to a specific static instance in an expression by the name that you gave this static instance in studioEncore. The syntax of this expression is:
...
For example, if you have a static instance Pete of type person, and want to retrieves Pete's name, you can write the expression:
- Person[Pete].Name
...
Info |
---|
Although you are allowed to change the values of attributes and relations of a static instance at runtime, it is not allowed to delete a static instance at runtime. This results in an error. |