public interface ObjectGraphBuilder.ChildPropertySetter
Strategy for setting a child node on its parent.
Useful for handling Lists/Arrays vs normal properties.
| Type Params | Return Type | Name and description |
|---|---|---|
public void |
setChild(Object parent, Object child, String parentName, String propertyName)
|
parent - the parent's node valuechild - the child's node valueparentName - the name of the parent nodepropertyName - the resolved relation name of the child
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/util/ObjectGraphBuilder.ChildPropertySetter.html