Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.jackson.databind.deser.impl;
 
Simple value container for containing information about single Object Id during deserialization.
 
 public class ReadableObjectId
    public final Object id;
    
    public Object item;
    
    public ReadableObjectId(Object id)
    {
        this. = id;
    }

    
Method called to assign actual POJO to which ObjectId refers to: will also handle referring properties, if any, by assigning POJO.
    public void bindItem(Object obthrows IOException
    {
        if ( != null) {
            throw new IllegalStateException("Already had POJO for id ("+.getClass().getName()+") ["++"]");
        }
         = ob;
    }
New to GrepCode? Check out our FAQ X