Package | Description |
---|---|
org.axonframework.commandhandling.model.inspection |
Modifier and Type | Interface and Description |
---|---|
interface |
AggregateModel<T>
Specialized EntityModel that describes the capabilities and properties of an aggregate root of type
T . |
Modifier and Type | Class and Description |
---|---|
class |
ModelInspector<T>
Inspector of an entity of type
T that creates command and event handlers that delegate to a target entity and
its child entities. |
Modifier and Type | Method and Description |
---|---|
<C> EntityModel<C> |
EntityModel.modelOf(Class<? extends C> childEntityType)
Get the EntityModel of an entity of type
childEntityType in case it is the child of the modeled entity. |
Modifier and Type | Method and Description |
---|---|
<T> Optional<ChildEntity<T>> |
ChildEntityDefinition.createChildDefinition(Field field,
EntityModel<T> declaringEntity)
Inspect the given
field , which is declared on the given declaringEntity for the presence of a
Child Entity. |
<T> Optional<ChildEntity<T>> |
AggregateMemberAnnotatedChildEntityMapDefinition.createChildDefinition(Field field,
EntityModel<T> declaringEntity) |
<T> Optional<ChildEntity<T>> |
AggregateMemberAnnotatedChildEntityDefinition.createChildDefinition(Field field,
EntityModel<T> declaringEntity) |
<T> Optional<ChildEntity<T>> |
AggregateMemberAnnotatedChildEntityCollectionDefinition.createChildDefinition(Field field,
EntityModel<T> declaringEntity) |
Constructor and Description |
---|
AnnotatedChildEntity(EntityModel<C> entityModel,
boolean forwardCommands,
boolean forwardEvents,
BiFunction<CommandMessage<?>,P,C> commandTargetResolver,
BiFunction<EventMessage<?>,P,Iterable<C>> eventTargetResolver)
Initiates a new AnnotatedChildEntity instance that uses the provided
entityModel to delegate command
and event handling to an annotated child entity. |
Copyright © 2010–2017. All rights reserved.