Wow
Toggle table of contents
5.1.5
jvm
Platform filter
jvm
Switch theme
Search in API
Wow
wow-core
/
me.ahoo.wow.modeling.state
/
ConstructorStateAggregateFactory
/
create
create
open
override
fun
<
S
:
Any
>
create
(
metadata
:
StateAggregateMetadata
<
S
>
,
aggregateId
:
AggregateId
)
:
StateAggregate
<
S
>
fun
<
S
:
Any
>
create
(
metadata
:
StateAggregateMetadata
<
S
>
,
aggregateId
:
AggregateId
,
state
:
S
,
version
:
Int
,
eventId
:
String
=
""
,
firstOperator
:
String
=
""
,
operator
:
String
=
""
,
firstEventTime
:
Long
=
0
,
eventTime
:
Long
=
0
,
deleted
:
Boolean
=
false
)
:
StateAggregate
<
S
>