public static class ObjectGraphBuilder.DefaultRelationNameResolver
Default impl that returns parentName and childName accordingly.
| Type Params | Return Type | Name and description |
|---|---|---|
public String |
resolveChildRelationName(String parentName, Object parent, String childName, Object child)Handles the common English regular plurals with the following rules. | |
public String |
resolveParentRelationName(String parentName, Object parent, String childName, Object child)Follow the most conventional pattern, returns the parentName unchanged. |
| Methods inherited from class | Name |
|---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Handles the common English regular plurals with the following rules.
Follow the most conventional pattern, returns the parentName unchanged.
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/util/ObjectGraphBuilder.DefaultRelationNameResolver.html