public interface ChildEntityDefinition
AnnotatedAggregateMetaModelFactory
if the definition's implementations is registered in the META-INF/services/org.axonframework.modelling.command.inspection.ChildEntityDefinition
file.ServiceLoader
Modifier and Type | Method and Description |
---|---|
<T> Optional<ChildEntity<T>> |
createChildDefinition(Member member,
EntityModel<T> declaringEntity)
Inspect the given
member , which is declared on the given declaringEntity for the presence of a
Child Entity. |
<T> Optional<ChildEntity<T>> createChildDefinition(Member member, EntityModel<T> declaringEntity)
member
, which is declared on the given declaringEntity
for the presence of a
Child Entity.T
- the type of entity on which the field is declaredmember
- the member potentially containing a Child entitydeclaringEntity
- the entity model declaring the fieldCopyright © 2010–2023. All rights reserved.