The creator of the class 'MetaRowCollection'. This class provides a collection to manage 'MetaRow' objects.
Owner object of this collection.
Protected
_elemDefines the type constraints for the collection element.
Unique identifier of the object (GUID). Uniquely identifies the object.
Readonly
_listAn array that stores a list of elements in a collection. This array contains actual data from the collection.
Protected
_ownerOwned object of the collection.
The object that manages the transaction queue. This queue is used to process transaction operations sequentially.
The generator function of the object. The function used when the object was created.
Indicates whether the automatic change feature is enabled. The default is set to 'false', and automatically sets whether or not the changes are applied.
Readonly
countReturns the number of elements in the current collection.
Indicates whether the collection has been changed. 'True' means that there are changes to the collection.
Readonly
lengthReturns the number of elements in the current collection.
Static
Readonly
_NSIndicates the namespace.
Static
Readonly
_PARAMList of parameters used for the constructor.
Static
Readonly
_UNIONList of implemented interfaces.
Deletes an element in a specified location in the collection. This method deletes the element by implementing the abstract method '_remove'. (Use template method patterns)
Index of the element to be deleted.
This is a Boolean value that indicates whether deletion is successful or not.
Optional
desc: PropertyDescriptorAdd the 'MetaRow' object to the collection.
'MetaRow' object to be added.
Optional
isCheck: booleanSpecifies whether to perform a validation; the default is 'false'.
Index of the added 'MetaRow' object.
Test that all elements pass the test implemented with the provided function.
콜백함수 입니다. (currentValue, index, array) => boolean
Optional
thisArg: anyThe value to use as this when executing the callback function.
True if you return a true value for all array elements, otherwise false.
Filter only to elements that have passed the test implemented by the provided function
콜백함수 입니다.(currentValue, index, array) => boolean
Optional
thisArg: anyThe value to use as this when executing the callback function.
Returns a new array of results.
Returns the first element that satisfies the provided test function
This is the callback function. (currentValue, index, array) => any
Optional
thisArg: anyThe value to use as this when executing the callback function.
The first element in the array that satisfies the test function. If no element satisfies the test function, undefined is returned.
Returns the first element that satisfies the provided test function
콜백함수 입니다. (currentValue, index, array) => boolean
Optional
thisArg: anyThe value to use as this when executing the callback function. Index of the first element that passes the @returns{number} test. If no match exists, return -1.
Run the function provided for each element once.
This is the callback function. (currentValue, index, array) => void
Optional
thisArg: anyThe value to use as this when executing the callback function.
Converts the current 'TransactionCollection' object to a serialized object. In the serialization process, the cyclic reference is replaced by the value '$ref'.
Optional
vOpt: numberSpecifies the serialization option.
Optional
owned: object | object[]The parent objects that currently own the object. You can receive an object or array of objects.
Serialized object.
Optional
desc: PropertyDescriptorInsert the 'MetaRow' object at the specified location in the collection.
Index of the location where the 'MetaRow' object is to be inserted.
'MetaRow' object to insert.
Optional
isCheck: booleanSpecifies whether to perform a validation; the default is 'false'.
Indicates whether the insertion is successful or not.
Collects the results of calling a given function for each element and returns a new array.
This is the callback function (currentValue, index, array) => any[]
Optional
thisArg: anyThe value to use as this when executing the callback function.
Returns a new array of results.
Run the given reducer function for each element and return one result.
콜백함수 입니다. (accumulator, currentValue, index, array) => any
Optional
initialValue: anyUse the first element of the array if it does not provide an initial value.
Returns a new array of results.
Sets the serialized object to the current 'Transaction Collection' object. During this process, the object is initialized.
object of serialized GUID type.
Optional
origin: objectThis is the original object that sets the current object. Default is 'oGuid'.
Test that at least one element passes through a given discriminant function.
콜백함수 입니다. (currentValue, index, array) => boolean
Optional
thisArg: anyThe value to use as this when executing the callback function.
Returns true if you return a true value for one element, or false.
Events that occur before adding an element to a collection.
BaseCollection#onAdd
Index of the element to be added.
The element to add.
current collection object.
Events that occur after you add an element to a collection.
BaseCollection#onAdded
Index of added elements.
Added element.
current collection object.
Events that occur after you change an element in a collection.
BaseCollection#onChanged
Index of the changed element.
Changed element.
current collection object.
An event that occurs before you change an element in a collection.
BaseCollection#onChanging
Index of the element to be changed.
The element to be changed.
current collection object.
Events that occur before the collection is initialized.
BaseCollection#onClear
current collection object.
Events that occur after the collection is initialized.
BaseCollection#onCleared
current collection object.
An event that occurs before an element is deleted from the collection.
BaseCollection#onRemove
Index of the element to be deleted.
The element to delete.
current collection object.
Events that occur after you delete an element from a collection.
BaseCollection#onRemoved
Index of deleted elements.
Deleted element.
current collection object.
The 'Transaction Collection' class manages transaction-based collections. This class provides the ability to apply transaction queues to collections and manage changes.