Field

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

Inheritors

Constructors

Link copied to clipboard
constructor(name: String?, type: FieldType<V, T>, params: Params = Params())

Types

Link copied to clipboard
object Companion

Properties

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

Functions

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
Link copied to clipboard