public static interface ObjectGraphBuilder.RelationNameResolver
Modifier and Type | Method and Description |
---|---|
java.lang.String |
resolveChildRelationName(java.lang.String parentName,
java.lang.Object parent,
java.lang.String childName,
java.lang.Object child)
Returns the mapping name of child -> parent
|
java.lang.String |
resolveParentRelationName(java.lang.String parentName,
java.lang.Object parent,
java.lang.String childName,
java.lang.Object child)
Returns the mapping name of parent -> child
|
java.lang.String resolveChildRelationName(java.lang.String parentName, java.lang.Object parent, java.lang.String childName, java.lang.Object child)
parentName
- the name of the parent nodeparent
- the parent nodechildName
- the name of the child nodechild
- the child nodejava.lang.String resolveParentRelationName(java.lang.String parentName, java.lang.Object parent, java.lang.String childName, java.lang.Object child)
parentName
- the name of the parent nodeparent
- the parent nodechildName
- the name of the child nodechild
- the child node