Package org.axonframework.modelling.entity.annotation
@NullMarked
package org.axonframework.modelling.entity.annotation
Part of the Axon Modelling module. Contains classes related to entity modelling annotation logic.
-
ClassDescriptionAbstract implementation of the
EntityChildModelDefinitioninterface that makes concrete implementations easier to maintain.Deprecated.Deprecated.Performing the payload conversion inside the resolver ties it to theAnnotatedEntityMetamodel, which prevents theEntityMetamodelcomponent from being decorated or replaced.AnEntityMetamodelimplementation that uses reflection to inspect the entity.Factory for creatingAnnotatedEntityMetamodelinstances for a given entity type.Utility class that matches an entity instance to a message based on the routing key of a message and the routing key of the entity.Defines how aCommandTargetResolvershould be constructed for anEntityMember-annotated member of anAnnotatedEntityMetamodel.Interface describing the definition of anEntityChildMetamodel.Annotation placed on fields or methods of an entity that should be treated as a child entity.Defines how aEventTargetMatchershould be constructed for anEntityMember-annotated member of anAnnotatedEntityMetamodel.EntityChildModelDefinitionfor creatingEntityChildMetamodelinstances for child entities that are represented as aList.EntityChildModelDefinitionfor creatingEntityChildMetamodelinstances for child entities that are represented as aMap.EventTargetMatcherimplementation that matches based on the routing key.Definition for creatingCommandTargetResolverinstances based on therouting key attribute.EventTargetMatcherimplementation that matches based on the routing key.Definition for creatingEventTargetMatcherinstances based on therouting key attribute.Utility class for retrieving routing keys from entity members and child entities.EntityChildModelDefinitionthat createsEntityChildMetamodelinstances for child entities that are represented as a single entity (not iterable, and not aMap).Exception indicating that a child entity indicated a routing key that is not known on the incoming message.
AnnotatedEntityMetamodelprevents theEntityMetamodelfrom being decorated or replaced, since resolution would break whenever the registered component is not anAnnotatedEntityMetamodel.