public final class WritableObjectId
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
ObjectIdGenerator<?> |
generator |
java.lang.Object |
id |
Constructor and Description |
---|
WritableObjectId(ObjectIdGenerator<?> generator) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
generateId(java.lang.Object forPojo) |
void |
writeAsField(JsonGenerator gen,
SerializerProvider provider,
ObjectIdWriter w)
Method called to output Object Id as specified.
|
boolean |
writeAsId(JsonGenerator gen,
SerializerProvider provider,
ObjectIdWriter w) |
public final ObjectIdGenerator<?> generator
public java.lang.Object id
public WritableObjectId(ObjectIdGenerator<?> generator)
public boolean writeAsId(JsonGenerator gen, SerializerProvider provider, ObjectIdWriter w) throws java.io.IOException
java.io.IOException
public java.lang.Object generateId(java.lang.Object forPojo)
public void writeAsField(JsonGenerator gen, SerializerProvider provider, ObjectIdWriter w) throws java.io.IOException
java.io.IOException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"