Class AbstractEntityChildMetamodel<C,P>

java.lang.Object
org.axonframework.modelling.entity.child.AbstractEntityChildMetamodel<C,P>
Type Parameters:
C - The type of the child entity.
P - The type of the parent entity.
All Implemented Interfaces:
EntityChildMetamodel<C,P>, EntityEvolver<P>
Direct Known Subclasses:
ListEntityChildMetamodel, SingleEntityChildMetamodel

public abstract class AbstractEntityChildMetamodel<C,P> extends Object implements EntityChildMetamodel<C,P>
Abstract EntityChildMetamodel that implements common functionality for most implementations. It defines how to handle commands and events for a child entity. The implementor is responsible for defining how to resolve the child entities from the parent (getChildEntities(Object)) and how to apply the evolved child entities to the parent (applyEvolvedChildEntities(Object, List)).
Since:
5.0.0
Author:
Mitchell Herrijgers