Package groovy.util

Interface ObjectGraphBuilder.RelationNameResolver

    • Method Detail

      • resolveChildRelationName

        String resolveChildRelationName​(String parentName,
                                        Object parent,
                                        String childName,
                                        Object child)
        Returns the mapping name of child -> parent
        Parameters:
        parentName - the name of the parent node
        parent - the parent node
        childName - the name of the child node
        child - the child node
      • resolveParentRelationName

        String resolveParentRelationName​(String parentName,
                                         Object parent,
                                         String childName,
                                         Object child)
        Returns the mapping name of parent -> child
        Parameters:
        parentName - the name of the parent node
        parent - the parent node
        childName - the name of the child node
        child - the child node