MutableFragment

MutableFragment provides read and write access to data value. MutableFragment also provides subscript access by either key or index to the nested values which are wrapped by MutableFragment objects.

Properties

Link copied to clipboard
open override var array: MutableArray?

Get the value as a MutableArray object, a mapping object of an array value. Returns null if the value is null, or the value is not an array.

Link copied to clipboard
open override var blob: Blob?

Gets the value as blob or sets the blob value to the fragment object.

Link copied to clipboard
open override var boolean: Boolean

Gets the value as boolean or sets the boolean value to the fragment object.

Link copied to clipboard
open override var date: Instant?

Gets the value as date or sets the date value to the fragment object.

Link copied to clipboard
open override var dictionary: MutableDictionary?

Get the value as a MutableDictionary object, a mapping object of a dictionary value. Returns null if the value is null, or the value is not a dictionary.

Link copied to clipboard
open override var double: Double

Gets the value as double or sets the double value to the fragment object.

Link copied to clipboard

Checks whether the value held by the fragment object exists or is null value or not.

Link copied to clipboard
open override var float: Float

Gets the value as float or sets the float value to the fragment object.

Link copied to clipboard
open override var int: Int

Gets the value as integer or sets the integer value to the fragment object.

Link copied to clipboard
open override var long: Long

Gets the value as long or sets the long value to the fragment object.

Link copied to clipboard
open override var number: Number?

Gets the value as a number or sets the number value to the fragment object.

Link copied to clipboard
open override var string: String?

Gets the value as string or sets the string value to the fragment object.

Link copied to clipboard
open override var value: Any?

Gets the value from or sets the value to the fragment object.

Functions

Link copied to clipboard
open operator override fun get(index: Int): MutableFragment

Subscript access to a Fragment object by index.

open operator override fun get(key: String): MutableFragment

Subscript access to a Fragment object by key.