[Java] Interface ChildPropertySetter
Strategy for setting a child node on its parent.
Useful for handling Lists/Arrays vs normal properties.
Methods Summary
| Type Params | Return Type | Name and description |
|---|---|---|
void |
setChild(Object parent, Object child, String parentName, String propertyName)@param parent the parent's node value |
Method Detail
public void setChild(Object parent, Object child, String parentName, String propertyName)
- Parameters:
-
parent- the parent's node value -
child- the child's node value -
parentName- the name of the parent node -
propertyName- the resolved relation name of the child
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/groovy/util/ObjectGraphBuilder.ChildPropertySetter.html