BaseMetaField

abstract class BaseMetaField<V, B : MappingField<V>>(name: String, type: FieldType<V, V>, params: Params = Params(), boundFieldFactory: (String, Params, MetaFields) -> B) : FieldSet.Field<V, V>

Constructors

Link copied to clipboard
fun <V, B : MappingField<V>> BaseMetaField(name: String, type: FieldType<V, V>, params: Params = Params(), boundFieldFactory: (String, Params, MetaFields) -> B)

Functions

Link copied to clipboard
operator fun provideDelegate(thisRef: MetaFields, prop: KProperty<*>): ReadOnlyProperty<MetaFields, B>

Properties

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

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Extensions

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.

Link copied to clipboard