Package groovy.util
Interface ObjectGraphBuilder.ChildPropertySetter
-
- All Known Implementing Classes:
ObjectGraphBuilder.DefaultChildPropertySetter
- Enclosing class:
- ObjectGraphBuilder
public static interface ObjectGraphBuilder.ChildPropertySetterStrategy for setting a child node on its parent.
Useful for handling Lists/Arrays vs normal properties.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetChild(java.lang.Object parent, java.lang.Object child, java.lang.String parentName, java.lang.String propertyName)
-
-
-
Method Detail
-
setChild
void setChild(java.lang.Object parent, java.lang.Object child, java.lang.String parentName, java.lang.String propertyName)- Parameters:
parent- the parent's node valuechild- the child's node valueparentName- the name of the parent nodepropertyName- the resolved relation name of the child
-
-