Skip to content

Entity Bank

Entity Bank is a collections of unique entity items. One Bank exists for each Bankable Entity. The corresponding list of entities is then referred to as the Bank Entity Collection.

For accounts with service levels allowing for private data, the Bank items are private and only visible to the members of the account. For the rest - the Bank entries are visible to all platform users. These privacy notions are further explained in subsequent sections of this page.

Bankable Entities for the moment consist of Materials and Workflows.

Mapping Function

Mapping Function produces a hash string (explained below) and is used to assert the uniqueness of Bank Entities. Each entity type has a different Mapping Function. It assesses certain defining features of the entity, as explained for the case of Materials and Workflows separately.

How Bank Entities are Generated

Any entity item of bankable type is automatically added to the corresponding Bank collection using the procedure further described below.

1. Hash Calculation

After creation, the hash for the new Entity is calculated by the Mapping Function and compared against those of existing Bank entries. From this point onwards, the following two alternative scenarios can emerge.

2a. Positive Match by Hash

If a positive match of hash strings is encountered between the new and an existing Bank entries, then the newly created Bank Entry is merged with an existing one within the Bank collection and the Bankable Entity in its corresponding collection is linked to the existing Bank Entity.

2b. No Match by Hash

If no match is found, a new Bank Entity is created and a link between it and the corresponding Bankable Entity is established.

Flowchart/Summary

A summary depicting the above steps involved in the creation of Bank entities can be found in the expandable section below:

Expand to view

Bank Diagram

Visual Representation

The correspondence between the Entity and Bank entity collections is visualized below:

Bank Diagram

Distinct Account-owned entities may end up corresponding to the same unique Bank entry . As mentioned earlier, this happens when the underlying Bankable Entities produce the same output for the Mapping Function.

The reader may refer to this page for an explanation of the structured data keywords contained in the image insets. It is worth noticing that interconnected entity items share the same "hash" keyword string, as explained in the forthcoming section.

Hash Strings

The output of the mapping function is a hash string. This hash is stored inside each new Bankable Entity and compared to the pre-existing ones in the Bank collection. In case of a positive match, the entities are associated together, thus preventing the creation of duplicates.

Entity Privacy

Private

If an Account has a sufficient service level allowing for private data, the situation displayed below will appear, whereby private items are accessible only to the Account members.

Bank Diagram

Public

Alternatively, the lack of data privacy leads to the following scenario, whereby all other Accounts gain access to the Bank entities.

Bank Diagram

NOTE: If different Accounts happen to generate exactly the same Bank Entity, the privacy settings are nullified if any of these Accounts makes the Entity public.

Importing Entities from Bank

Bank entities may be imported by users with appropriate access to it. This creates a copy of that item under the Account-owned collection.

Specific examples of the importing procedure can be found for both Materials and Workflows, whereas the general instructions are presented here.