|
Groovy 1.7.0 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgroovy.util.ObjectGraphBuilder.DefaultRelationNameResolver
class ObjectGraphBuilder.DefaultRelationNameResolver
Default impl that returns parentName & childName accordingly.
| Constructor Summary | |
ObjectGraphBuilder.DefaultRelationNameResolver()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
| Constructor Detail |
|---|
ObjectGraphBuilder.DefaultRelationNameResolver()
| Method Detail |
|---|
public String resolveChildRelationName(String parentName, Object parent, String childName, Object child)
public String resolveParentRelationName(String parentName, Object parent, String childName, Object child)
Copyright © 2003-2009 The Codehaus. All rights reserved.