public static class ObjectGraphBuilder.DefaultRelationNameResolver extends Object implements ObjectGraphBuilder.RelationNameResolver
| Constructor and Description | 
|---|
| ObjectGraphBuilder.DefaultRelationNameResolver() | 
| Modifier and Type | Method and 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 ObjectGraphBuilder.DefaultRelationNameResolver()
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