[Java] Class DefaultChildPropertySetter
- groovy.util.ObjectGraphBuilder.DefaultChildPropertySetter
- All Implemented Interfaces and Traits:
- 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.
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
void |
setChild(Object parent, Object child, String parentName, String propertyName) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail
public void setChild(Object parent, Object child, String parentName, String propertyName)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/groovy/util/ObjectGraphBuilder.DefaultChildPropertySetter.html