toggle menu
modelix.core
8.16.0
common
switch theme
search in API
model-api-gen-runtime
/
org.modelix.metamodel
/
OptionalEnumSerializer
Optional
Enum
Serializer
class
OptionalEnumSerializer
<
E
:
Enum
<
*
>
>
(
memberIdOf
:
(
E
)
->
String
,
fromMemberId
:
(
String
)
->
E
)
:
EnumSerializer
,
IPropertyValueSerializer
<
E
?
>
Members
Constructors
Optional
Enum
Serializer
Link copied to clipboard
constructor
(
memberIdOf
:
(
E
)
->
String
,
fromMemberId
:
(
String
)
->
E
)
Functions
deserialize
Link copied to clipboard
open
override
fun
deserialize
(
serialized
:
String
?
)
:
E
?
serialize
Link copied to clipboard
open
override
fun
serialize
(
value
:
E
?
)
:
String
?