server
1.9.0
jvm
server
/
io.spine.server.aggregate
/
AggregateRoot
Aggregate
Root
public
class
AggregateRoot
<
I
>
A root object for a larger aggregate.
Parameters
<I>
the type for IDs of this class of aggregates
Members
Constructors
Aggregate
Root
Link copied to clipboard
protected
void
AggregateRoot
(
BoundedContext
context
,
I
id
)
Creates a new instance.
Functions
id
Link copied to clipboard
public
I
id
(
)
Obtains the aggregate ID.
part
State
Link copied to clipboard
protected
S
partState
<
S
extends
EntityState
,
A
extends
AggregatePart
<
I
,
S
,
? extends
Object
,
? extends
Object
>
>
(
Class
<
S
>
partStateClass
)
Obtains a part state by its class.