Field

open class Field<V, T>(name: String?, type: FieldType<V, T>, params: Params)

Functions

provideDelegate
Link copied to clipboard
operator fun provideDelegate(thisRef: FieldSet, prop: KProperty<*>): <ERROR CLASS><FieldSet, BoundField<V, T>>

Properties

name
Link copied to clipboard
val name: String?
params
Link copied to clipboard
val params: Params
type
Link copied to clipboard
val type: FieldType<V, T>

Inheritors

MetaFields
Link copied to clipboard

Extensions

enum
Link copied to clipboard
inline fun <V : Enum<V>> FieldSet.Field<Int, Int>.enum(fieldValue: IntEnumValue<V>): FieldSet.Field<V, V>
Maps integer value to the corresponding enum variant.
inline fun <V : Enum<V>> FieldSet.Field<String, String>.enum(fieldValue: KeywordEnumValue<V>? = null): FieldSet.Field<V, V>
Maps string value to the corresponding enum variant.
subFields
Link copied to clipboard
fun <V, F : SubFields<V>> FieldSet.Field<V, V>.subFields(factory: (BoundField<V, V>) -> F): SubFields.UnboundSubFields<V, F>