Add

data class Add<T, TChildren>(val value: T, val addedValue: TChildren, val id: AbsolutePathFragment.Id, val path: AbsolutePath, val schema: CollectionSchema<T, TChildren>) : ValueEvent<T> (source)

Event that indicates the addition of elements of type TChildren to a collection of type T.

Constructors

Link copied to clipboard
constructor(value: T, addedValue: TChildren, id: AbsolutePathFragment.Id, path: AbsolutePath, schema: CollectionSchema<T, TChildren>)

Properties

Link copied to clipboard

Added value.

Link copied to clipboard

Identifier of added value.

Link copied to clipboard
open override val oldValue: Nothing? = null

Value before the event occurred.

Link copied to clipboard
open override val path: AbsolutePath

Path associated with the event.

Link copied to clipboard
open override val schema: CollectionSchema<T, TChildren>

Schema of the value associated with the event.

Link copied to clipboard
open override val value: T

Collection, as found in the form manager, after the addition of the element.

Functions

Link copied to clipboard
open override fun toString(): String