Package: groovy.util

## [Java] Class ObjectGraphBuilder.DefaultChildPropertySetter

- groovy.util.ObjectGraphBuilder.DefaultChildPropertySetter

- All Implemented Interfaces and Traits:
    ObjectGraphBuilder.ChildPropertySetter

      public static class ObjectGraphBuilder.DefaultChildPropertySetter
      extends Object
      implements ObjectGraphBuilder.ChildPropertySetter

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

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `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

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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