elasticmagic-kt
0.0.30
elasticmagic
/
dev.evo.elasticmagic.doc
/
DocSource
/
OptionalValueDelegate
Optional
Value
Delegate
open
class
OptionalValueDelegate
<
V
>
(
fieldName
:
String
,
fieldType
:
FieldType
<
V
&
Any
,
*
>
)
Constructors
Functions
Inheritors
Constructors
Optional
Value
Delegate
Link copied to clipboard
fun
<
V
>
OptionalValueDelegate
(
fieldName
:
String
,
fieldType
:
FieldType
<
V
&
Any
,
*
>
)
Functions
default
Link copied to clipboard
fun
default
(
defaultValue
:
(
)
->
V
&
Any
)
:
DocSource.OptionalValueDelegateWithDefault
<
V
>
provide
Delegate
Link copied to clipboard
operator
fun
provideDelegate
(
thisRef
:
DocSource
,
property
:
KProperty
<
*
>
)
:
ReadWriteProperty
<
DocSource
,
V
?
>
required
Link copied to clipboard
open
fun
required
(
)
:
DocSource.RequiredValueDelegate
<
V
>
Inheritors
OptionalListableValueDelegate
Link copied to clipboard