Remove

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

Event that indicates the removal of elements of type TChildren from a collection of type T.

Constructors

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

Properties

Link copied to clipboard

Identifier of removed 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

Removed value.

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 removal of the element.

Functions

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