public static class ObjectGraphBuilder.DefaultRelationNameResolver
Default impl that returns parentName and childName accordingly.
Type | Name 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. |
Handles the common English regular plurals with the following rules.