|
Groovy 1.7.8 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
public interface ObjectGraphBuilder.RelationNameResolver
Strategy for resolving a relationship property name.
| Method Summary | |
|---|---|
String
|
resolveChildRelationName(String parentName, Object parent, String childName, Object child)
Returns the mapping name of child -> parent |
String
|
resolveParentRelationName(String parentName, Object parent, String childName, Object child)
Returns the mapping name of parent -> child |
| Method Detail |
|---|
public String resolveChildRelationName(String parentName, Object parent, String childName, Object child)
parentName - the name of the parent nodeparent - the parent nodechildName - the name of the child nodechild - the child node
public String resolveParentRelationName(String parentName, Object parent, String childName, Object child)
parentName - the name of the parent nodeparent - the parent nodechildName - the name of the child nodechild - the child node
Copyright © 2003-2010 The Codehaus. All rights reserved.