public final class WritableObjectId extends Object
Modifier and Type | Field and Description |
---|---|
com.fasterxml.jackson.annotation.ObjectIdGenerator<?> |
generator |
Object |
id |
protected boolean |
idWritten |
Constructor and Description |
---|
WritableObjectId(com.fasterxml.jackson.annotation.ObjectIdGenerator<?> generator) |
Modifier and Type | Method and Description |
---|---|
Object |
generateId(Object forPojo) |
void |
writeAsField(com.fasterxml.jackson.core.JsonGenerator jgen,
SerializerProvider provider,
ObjectIdWriter w)
Method called to output Object Id as specified.
|
boolean |
writeAsId(com.fasterxml.jackson.core.JsonGenerator jgen,
SerializerProvider provider,
ObjectIdWriter w) |
public final com.fasterxml.jackson.annotation.ObjectIdGenerator<?> generator
public Object id
protected boolean idWritten
public WritableObjectId(com.fasterxml.jackson.annotation.ObjectIdGenerator<?> generator)
public boolean writeAsId(com.fasterxml.jackson.core.JsonGenerator jgen, SerializerProvider provider, ObjectIdWriter w) throws IOException, com.fasterxml.jackson.core.JsonGenerationException
IOException
com.fasterxml.jackson.core.JsonGenerationException
public void writeAsField(com.fasterxml.jackson.core.JsonGenerator jgen, SerializerProvider provider, ObjectIdWriter w) throws IOException, com.fasterxml.jackson.core.JsonGenerationException
IOException
com.fasterxml.jackson.core.JsonGenerationException
Copyright © 2014-2015 FasterXML. All Rights Reserved.