Package groovy.util

Class ObjectGraphBuilder.DefaultIdentifierResolver

java.lang.Object
groovy.util.ObjectGraphBuilder.DefaultIdentifierResolver
All Implemented Interfaces:
ObjectGraphBuilder.IdentifierResolver
Enclosing class:
ObjectGraphBuilder

public static class ObjectGraphBuilder.DefaultIdentifierResolver
extends java.lang.Object
implements ObjectGraphBuilder.IdentifierResolver
Default impl, always returns 'id'
  • Constructor Summary

    Constructors
    Constructor Description
    DefaultIdentifierResolver()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getIdentifierFor​(java.lang.String nodeName)
    Returns the name of the property that will identify the node.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultIdentifierResolver

      public DefaultIdentifierResolver()
  • Method Details