public class AggregateMemberAnnotatedChildEntityDefinition extends Object implements ChildEntityDefinition
ChildEntityDefinition that is used to detect single entities annotated with
AggregateMember. If such a field is found a ChildEntity is created that delegates to the entity.| Constructor and Description |
|---|
AggregateMemberAnnotatedChildEntityDefinition() |
| 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. |
public AggregateMemberAnnotatedChildEntityDefinition()
public <T> Optional<ChildEntity<T>> createChildDefinition(Field field, EntityModel<T> declaringEntity)
ChildEntityDefinitionfield, which is declared on the given declaringEntity for the presence of a
Child Entity.createChildDefinition in interface ChildEntityDefinitionT - The type of entity on which the field is declaredfield - The field potentially containing a Child entitydeclaringEntity - The entity model declaring the fieldCopyright © 2010–2017. All rights reserved.