ObjectGraphBuilder.DefaultReferenceResolver (Groovy 2.5.0)
Date: 2018-05-27

groovy.util

## Class ObjectGraphBuilder.DefaultReferenceResolver

- java.lang.Object
- - groovy.util.ObjectGraphBuilder.DefaultReferenceResolver

- All Implemented Interfaces:
    ObjectGraphBuilder.ReferenceResolver
  Enclosing class:
    ObjectGraphBuilder

      public static class ObjectGraphBuilder.DefaultReferenceResolver
      extends java.lang.Object
      implements ObjectGraphBuilder.ReferenceResolver

  Default impl, always returns 'refId'

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultReferenceResolver()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getReferenceFor(java.lang.String nodeName)` Returns the name of the property that references another node.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultReferenceResolver

          public DefaultReferenceResolver()

  - ### Method Detail

    - #### getReferenceFor

          public java.lang.String getReferenceFor(java.lang.String nodeName)

      Description copied from interface: `ObjectGraphBuilder.ReferenceResolver`
      Returns the name of the property that references another node.
      Specified by:
        `getReferenceFor` in interface `ObjectGraphBuilder.ReferenceResolver`
      Parameters:
        `nodeName` - the name of the node