|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.util.ObjectGraphBuilder.DefaultChildPropertySetter
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.
Constructor Summary | |
---|---|
ObjectGraphBuilder.DefaultChildPropertySetter()
|
Method Summary | |
---|---|
void |
setChild(java.lang.Object parent,
java.lang.Object child,
java.lang.String parentName,
java.lang.String propertyName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectGraphBuilder.DefaultChildPropertySetter()
Method Detail |
---|
public void setChild(java.lang.Object parent, java.lang.Object child, java.lang.String parentName, java.lang.String propertyName)
setChild
in interface ObjectGraphBuilder.ChildPropertySetter
parent
- the parent's node valuechild
- the child's node valueparentName
- the name of the parent nodepropertyName
- the resolved relation name of the child
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |