Class MapEntityChildModelDefinition

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

public class MapEntityChildModelDefinition extends AbstractEntityChildModelDefinition
EntityChildModelDefinition for creating EntityChildMetamodel instances for child entities that are represented as a Map.

It resolves the child type from the member's value generic type and creates a MapEntityChildMetamodel accordingly. The key type of the Map is not resolved, as it is not needed to construct the child EntityMetamodel: the key of an entry is preserved as-is when the entity is evolved.

Since:
5.3.0
Author:
Steven van Beelen