Class ReadableObjectId.Referring

java.lang.Object
tools.jackson.databind.deser.ReadableObjectId.Referring
Direct Known Subclasses:
ObjectIdReferenceProperty.PropertyReferring
Enclosing class:
ReadableObjectId

public abstract static class ReadableObjectId.Referring extends Object
  • Constructor Details

  • Method Details

    • getLocation

      public TokenStreamLocation getLocation()
    • getBeanType

      public Class<?> getBeanType()
    • handleResolvedForwardReference

      public abstract void handleResolvedForwardReference(DeserializationContext ctxt, Object id, Object value) throws JacksonException
      Throws:
      JacksonException
    • hasId

      public boolean hasId(Object id)
    • handleItemRebind

      public void handleItemRebind(Object oldItem, Object newItem) throws JacksonException
      Called when the resolved item has been rebound (e.g., builder → built object). Implementations that hold resolved values in mutable containers (collections, arrays, maps) should replace the old item with the new one. Default no-op since scalar property references are set on the POJO directly and captured via constructor before build.
      Parameters:
      oldItem - The previous item (e.g., the builder)
      newItem - The replacement item (e.g., the built object)
      Throws:
      JacksonException
      Since:
      3.2