| Modifier and Type | Field and Description |
|---|---|
| public final ObjectIdGenerator | |
| public Object | |
| protected boolean | idWritten
Marker to denote whether Object Id value has been written as part of an Object, to be referencible. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public void | writeAsDeclaration(JsonGenerator g, SerializationContext ctxt, ObjectIdWriter w)
Method called to output Object Id declaration, either using native Object Id write
method |
| public boolean | writeAsReference(JsonGenerator g, SerializationContext ctxt, ObjectIdWriter w)
Method to call to write a reference to object that this id refers. |
| generator | back to summary |
|---|---|
| public final ObjectIdGenerator<?> generator | |
| id | back to summary |
|---|---|
| public Object id | |
| idWritten | back to summary |
|---|---|
| protected boolean idWritten Marker to denote whether Object Id value has been written as part of an Object, to be referencible. Remains false when forward-reference is written. | |
| WritableObjectId | back to summary |
|---|---|
| public WritableObjectId(ObjectIdGenerator<?> g) | |
| generateId | back to summary |
|---|---|
| public Object generateId(Object forPojo) | |
| writeAsDeclaration | back to summary |
|---|---|
| public void writeAsDeclaration(JsonGenerator g, SerializationContext ctxt, ObjectIdWriter w) throws JacksonException Method called to output Object Id declaration, either using native Object Id write
method | |
| writeAsReference | back to summary |
|---|---|
| public boolean writeAsReference(JsonGenerator g, SerializationContext ctxt, ObjectIdWriter w) throws JacksonException Method to call to write a reference to object that this id refers. Usually this
is done after an earlier call to | |