server
1.9.0
jvm
server
/
io.spine.server.aggregate.model
/
AggregatePartClass
/
createRoot
create
Root
public
R
createRoot
<
I
,
R
extends
AggregateRoot
<
I
>
>
(
BoundedContext
bc
,
I
aggregateId
)
Creates a new
AggregateRoot
within the passed Bounded Context.