MetaField

open class MetaField<V>(name: String, type: FieldType<V, V>, params: Params = Params()) : MetaFields.BaseMetaField<V, BoundField<V, V>>

Constructors

Link copied to clipboard
fun <V> MetaField(name: String, type: FieldType<V, V>, params: Params = Params())

Functions

Link copied to clipboard

Properties

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

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