Class AggregateAndEvent<AID extends AggregateId,A extends Aggregate<A,AID>,E extends Event<AID>>
- java.lang.Object
-
- com.github.j5ik2o.event.store.adapter.java.AggregateAndEvent<AID,A,E>
-
- Type Parameters:
AID- Aggregate ID type / 集約IDの型A- Aggregate type / 集約の型E- Event type / イベントの型
public final class AggregateAndEvent<AID extends AggregateId,A extends Aggregate<A,AID>,E extends Event<AID>> extends java.lang.ObjectThis is a class for representing aggregates and events. / 集約とイベントを表すためのクラスです。
-
-
Constructor Summary
Constructors Constructor Description AggregateAndEvent(A aggregate, E event)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgetAggregate()Returns the aggregate.EgetEvent()Returns the event.
-