|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.fasterxml.jackson.annotation.ObjectIdGenerators
public class ObjectIdGenerators
Container class for standard ObjectIdGenerator implementations:
ObjectIdGenerators.IntSequenceGenerator
ObjectIdGenerators.PropertyGenerator
ObjectIdGenerators.StringIdGenerator (since 2.7)
ObjectIdGenerators.UUIDGenerator
| Nested Class Summary | |
|---|---|
static class |
ObjectIdGenerators.IntSequenceGenerator
Simple sequence-number based generator, which uses basic Java ints (starting with value 1) as Object Identifiers. |
static class |
ObjectIdGenerators.None
Abstract marker class used to allow explicitly specifying that no generator is used; which also implies that no Object Id is to be included or used. |
static class |
ObjectIdGenerators.PropertyGenerator
Abstract place-holder class which is used to denote case where Object Identifier to use comes from a POJO property (getter method or field). |
static class |
ObjectIdGenerators.StringIdGenerator
Implementation that will accept arbitrary (but unique) String Ids on deserialization, and (by default) use random UUID generation similar to ObjectIdGenerators.UUIDGenerator for generation ids. |
static class |
ObjectIdGenerators.UUIDGenerator
Implementation that just uses UUIDs as reliably
unique identifiers: downside is that resulting String is
36 characters long. |
| Constructor Summary | |
|---|---|
ObjectIdGenerators()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectIdGenerators()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||