Constructor
new Entity()
The Entity Class
- Source:
- See:
Example
<caption>Create new Entity</caption>
Extends
Methods
_schemaKeyHandler()
Manages a payload key e.g. annotations, target, or subject etc. and
either finds (resolves) the CID or decodes the value/target.
- Inherited From:
- Source:
Returns:
[Array>] - Array of Array with path and Object
(async) assert(assertions) → {Array.<String>}
Create the class, data, object, and other assertions for an `Individual`
Parameters:
| Name | Type | Description |
|---|---|---|
assertions |
Object | The non-inherent properties of the individual |
- Inherited From:
- Source:
Returns:
- The `CID`s of the assertions
- Type
- Array.<String>
(async) fetch()
Given the payload of the entity it fetches the related entities and instantiates
proper `Entities` from them.
- Inherited From:
- Source: