Class SingleEntityChildModelDefinition

java.lang.Object
org.axonframework.modelling.entity.annotation.AbstractEntityChildModelDefinition
org.axonframework.modelling.entity.annotation.SingleEntityChildModelDefinition
All Implemented Interfaces:
EntityChildModelDefinition

public class SingleEntityChildModelDefinition extends AbstractEntityChildModelDefinition
EntityChildModelDefinition that creates EntityChildMetamodel instances for child entities that are represented as a single entity (not iterable). It resolves the child type from the member's type and creates a SingleEntityChildMetamodel accordingly.

Before version 5.0.0, this class was known as the org.axonframework.modelling.command.inspection.AggregateMemberAnnotatedChildEntityDefinition. The class has been renamed to better fit the new entity modeling.

Since:
5.0.0
Author:
Mitchell Herrijgers