Class MapEntityChildMetamodel.Builder<K,C,P>

java.lang.Object
org.axonframework.modelling.entity.child.AbstractEntityChildMetamodel.Builder<C,P,MapEntityChildMetamodel.Builder<K,C,P>>
org.axonframework.modelling.entity.child.MapEntityChildMetamodel.Builder<K,C,P>
Type Parameters:
K - the type of the key of the Map containing the child entities
C - the type of the child entity
P - the type of the parent entity
Enclosing class:
MapEntityChildMetamodel<K,C,P>

public static class MapEntityChildMetamodel.Builder<K,C,P> extends AbstractEntityChildMetamodel.Builder<C,P,MapEntityChildMetamodel.Builder<K,C,P>>
Builder for creating a MapEntityChildMetamodel for the given parent class and child entity metamodel. The builder can be used to configure the child entity metamodel and create a new instance of MapEntityChildMetamodel. The ChildEntityFieldDefinition is required to resolve the child entities from the parent entity and evolve the parent entity based on the child entities. The commandTargetResolver and eventTargetMatcher are both required, as they are used to match the child entities to the command and event respectively.