FieldsValidity

Represents the validity of multiple fields, each represented by a ComponentValidity instance. This sealed interface combines the functionalities of Validity and Mappable, allowing for validation status tracking of grouped components and their serialized representation as map or JSON.

Properties:

  • fields: A list of ComponentValidity instances representing the validity state of individual components.

Functions:

  • toJsonObject(): Converts the current validity state into a JsonObject.

  • toJsonString(): Serializes the current validity state to a JSON-formatted string.

Inheritors

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJsonObject(): JsonObject
Link copied to clipboard
open override fun toJsonString(): String
Link copied to clipboard
abstract fun toMap(): MutableMap<String, Any?>