Groovy 2.2.0

groovy.util
[Java] Class ObjectGraphBuilder.DefaultRelationNameResolver

java.lang.Object
  groovy.util.ObjectGraphBuilder.DefaultRelationNameResolver
All Implemented Interfaces:
RelationNameResolver

public static class ObjectGraphBuilder.DefaultRelationNameResolver

Default impl that returns parentName and childName accordingly.


Method Summary
String resolveChildRelationName(String parentName, Object parent, String childName, Object child)

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, equals, toString, hashCode, getClass, notify, notifyAll
 

Method Detail

resolveChildRelationName

public String resolveChildRelationName(String parentName, Object parent, String childName, Object child)


resolveParentRelationName

public String resolveParentRelationName(String parentName, Object parent, String childName, Object child)
Follow the most conventional pattern, returns the parentName unchanged.


 

Copyright © 2003-2013 The Codehaus. All rights reserved.