AbstractPropertyMap

abstract class AbstractPropertyMap<T, M : MutableMap<String, out T>>(val name: String, val value: M, val description: String? = null, val fixedValues: Set<M> = emptySet(), val readOnly: Boolean = false) : Property<M> , MutableMap<String, T> (source)

SuperClass for property as maps.

Parameters

current map type

Constructors

Link copied to clipboard
constructor(name: String, value: M, description: String? = null, fixedValues: Set<M> = emptySet(), readOnly: Boolean = false)

Properties

Link copied to clipboard
open override val description: String?

Optional human-readable description of the property.

Link copied to clipboard
open override val entries: Entries<T>
Link copied to clipboard
open override val fixedValues: Set<M>

Set of allowed values. If not empty, the property value must be one of these values.

Link copied to clipboard

Checks if this property has fixed values defined.

Link copied to clipboard
open override val keys: MutableSet<String>
Link copied to clipboard
open override val name: String

Unique name of the property.

Link copied to clipboard
open override val readOnly: Boolean

Indicates whether this property is read-only. Some stores do not allow property edition.

Link copied to clipboard
open override val size: Int
Link copied to clipboard
open override val value: M

Current value of the property.

Link copied to clipboard
open override val values: Values<T>

Functions

Link copied to clipboard
open override fun clear()
Link copied to clipboard
open override fun containsKey(key: String): Boolean
Link copied to clipboard
open override fun containsValue(value: T): Boolean
Link copied to clipboard
open operator override fun get(key: String): T?
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
operator fun minusAssign(key: String)
Link copied to clipboard
open override fun put(key: String, value: T): T?
Link copied to clipboard
open override fun putAll(from: Map<out String, T>)
Link copied to clipboard
open override fun remove(key: String): T?