Interface PolymorphicEntityMetamodelBuilder<E>

Type Parameters:
E - The type of the polymorphic entity this metamodel represents.
All Superinterfaces:
EntityMetamodelBuilder<E>

public interface PolymorphicEntityMetamodelBuilder<E> extends EntityMetamodelBuilder<E>
Builder for a polymorphic EntityMetamodel, where a parent entity can have multiple concrete child entities. Command handlers of concrete types take precedence over the parent entity's command handlers. Event handlers are invoked on both, with the super entity's event handlers being invoked first.
Since:
5.0.0
Author:
Mitchell Herrijgers
See Also: