The name of this collection in the parent Document.
The parent DataModel instance to which this collection belongs.
The source data array for the collection in the parent Document data.
A convenience getter to return the corresponding base collection.
A convenience getter to return the corresponding synthetic collection.
Return an Array of all the entry values in the Collection
Determine whether a given ID is managed directly by this collection delta or inherited from the base collection.
The Document ID.
Determine whether a given ID exists as a tombstone Document in the collection delta.
The Document ID.
Restore a Document so that it is no longer managed by the collection delta and instead inherits from the base Document.
The Document ID.
The restored Document.
Restore the given Documents so that they are no longer managed by the collection delta and instead inherit directly from their counterparts in the base Actor.
The IDs of the Documents to restore.
An array of updated Document instances.
Add an item to the collection.
The embedded Document ID.
The embedded Document instance.
Additional options to the set operation.
The embedded Document ID.
Additional options to the delete operation.
Get an element from the EmbeddedCollection by its ID.
The ID of the Embedded Document to retrieve.
Additional options to configure retrieval.
Update an EmbeddedCollection using an array of provided document data.
An array of provided Document data
Obtain a temporary Document instance for a document id which currently has invalid source data.
A document ID with invalid source data.
Additional options to configure retrieval.
An in-memory instance for the invalid Document
Convert the EmbeddedCollection to an array of simple objects.
The extracted array of primitive objects
Find an entry in the Map using a functional condition.
The functional condition to test. Positional arguments are the value, the index of iteration, and the collection being searched.
The value, if found, otherwise undefined
Filter the Collection, returning an Array of entries which match a functional condition.
The functional condition to test. Positional arguments are the value, the index of iteration, and the collection being filtered.
An Array of matched values
Apply a function to each element of the collection
A function to apply to each element
Get an entry from the Collection by name. Use of this method assumes that the objects stored in the collection have a "name" attribute.
The name of the entry to retrieve
Additional options that affect how entries are retrieved
The retrieved entry value, if one was found, otherwise undefined
Transform each element of the Collection into a new form, returning an Array of transformed values
A transformation function applied to each entry value. Positional arguments are the value, the index of iteration, and the collection being mapped.
An Array of transformed values
Reduce the Collection by applying an evaluator function and accumulating entries
A reducer function applied to each entry value. Positional arguments are the accumulator, the value, the index of iteration, and the collection being reduced.
An initial value which accumulates with each iteration
The accumulated result
Test whether a condition is met by some entry in the Collection.
The functional condition to test. Positional arguments are the value, the index of iteration, and the collection being tested.
Was the test condition passed by at least one entry?
Convert the Collection to a primitive array of its contents.
An array of contained values
When iterating over a Collection, we should iterate over its values instead of over its entries
Log warnings or errors when a Document is found to be invalid.
The invalid Document's ID.
The validation error.
Options to configure invalid Document handling.
Has this embedded collection been initialized as a one-time workflow?
The Document implementation used to construct instances within this collection.
The name of this collection in the parent Document.
The parent DataModel to which this EmbeddedCollection instance belongs.
Record the set of document ids where the Document was not initialized because of invalid source data
Maintain a list of IDs that are managed by this collection delta to distinguish from those IDs that are inherited from the base collection.
Maintain a list of IDs that are tombstone Documents.
An embedded collection delta contains delta source objects that can be compared against other objects inside a base embedded collection, and generate new embedded Documents by combining them.