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