ObjectGraphBuilder.RelationNameResolverpublic static class ObjectGraphBuilder.DefaultRelationNameResolver extends Object implements ObjectGraphBuilder.RelationNameResolver
| Constructor | Description |
|---|---|
DefaultRelationNameResolver() |
| Modifier and Type | Method | Description |
|---|---|---|
String |
resolveChildRelationName(String parentName,
Object parent,
String childName,
Object child) |
Handles the common English regular plurals with the following rules.
|
String |
resolveParentRelationName(String parentName,
Object parent,
String childName,
Object child) |
Follow the most conventional pattern, returns the parentName
unchanged.
|
public String resolveChildRelationName(String parentName, Object parent, String childName, Object child)
resolveChildRelationName in interface ObjectGraphBuilder.RelationNameResolverparentName - the name of the parent nodeparent - the parent nodechildName - the name of the child nodechild - the child nodepublic String resolveParentRelationName(String parentName, Object parent, String childName, Object child)
resolveParentRelationName in interface ObjectGraphBuilder.RelationNameResolverparentName - the name of the parent nodeparent - the parent nodechildName - the name of the child nodechild - the child node