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