Groovy 2.2.0

groovy.util
[Java] Class ObjectGraphBuilder.DefaultChildPropertySetter

java.lang.Object
  groovy.util.ObjectGraphBuilder.DefaultChildPropertySetter
All Implemented Interfaces:
ChildPropertySetter

public static class ObjectGraphBuilder.DefaultChildPropertySetter

Default impl that calls parent.propertyName = child
If parent.propertyName is a Collection it will try to add child to the collection.


Method Summary
void setChild(Object parent, Object child, String parentName, String propertyName)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Method Detail

setChild

public void setChild(Object parent, Object child, String parentName, String propertyName)


 

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