Aggregate Part Class
Provides type information on an aggregate part class.
Parameters
<A>
the type of aggregate parts.
Functions
Link copied to clipboard
Obtains an aggregate part class for the passed raw class.
Link copied to clipboard
Creates a new instance of the factory for creating aggregate parts of this class.
Link copied to clipboard
Creates a new
AggregateRoot
within the passed Bounded Context.Link copied to clipboard
Obtains the aggregate root class of this part class.
Inherited functions
Link copied to clipboard
Obtains event applier method for the passed class of events.
Link copied to clipboard
Obtains an aggregate class for the passed raw class.
Link copied to clipboard
Obtains an entity class for the passed raw class.
Link copied to clipboard
Obtains classes of all messages produced as a result of command handling.
Link copied to clipboard
Obtains constructor for the entities of this class.
Link copied to clipboard
Obtains the default state for this class of entities.
Link copied to clipboard
Obtains the set of domestic event classes on which this aggregate class reacts.
Link copied to clipboard
Obtains the set of external event classes on which this aggregate class reacts.
Link copied to clipboard
Obtains the factory for creating entities.
Link copied to clipboard
protected static ModelClass<T> get<T, M extends ModelClass<T>>(Class<T> rawClass, Class<M> requestedModelClass, Supplier<ModelClass<T>> supplier)
Obtains the model class for the passed raw class.
Link copied to clipboard
Obtains the handler method for the passed command class.
Link copied to clipboard
Link copied to clipboard
Obtains a set of event classes that are imported by the aggregates of this class.
Link copied to clipboard
Link copied to clipboard
Obtains types of events that are going to be posted to
EventBus
as the result of handling messages dispatched to aggregates of this class.Link copied to clipboard
Obtains the classes of events produced from the event reaction.
Link copied to clipboard
Obtains the method that reacts on the events of the passed class.
Link copied to clipboard
Obtains classes of rejections that command handling methods of this class throw, or empty set if no rejections are thrown.
Link copied to clipboard
Obtains the class of the state of entities of this class.
Link copied to clipboard
Retrieves the state class of the passed entity class.
Link copied to clipboard
Obtains set of classes of events used as arguments of applier methods.
Link copied to clipboard
Obtains type URL of the state of entities of this class.
Link copied to clipboard
Obtains the visibility of this entity type as declared in the Protobuf definition.