public class ObjectIdGenerators extends Object
ObjectIdGenerator implementations:
ObjectIdGenerators.IntSequenceGenerator
  ObjectIdGenerators.PropertyGenerator
  ObjectIdGenerators.StringIdGenerator (since 2.7)
  ObjectIdGenerators.UUIDGenerator
 NOTE: ObjectIdGenerators.PropertyGenerator applicability is limited in one case: it can only
 be used on polymorphic base types (ones indicated using JsonTypeInfo or
 default typing) via class annotations: property annotation will fail due to lack
 of access to property, needed to determine type of Object Id for deserialization.
 This limitation may be lifted in future versions but it is the limitation at least
 up to and including Jackson 2.9.
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ObjectIdGenerators.IntSequenceGeneratorSimple sequence-number based generator, which uses basic Java
  ints (starting with value 1) as Object Identifiers. | 
| static class  | ObjectIdGenerators.NoneAbstract 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.PropertyGeneratorAbstract 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.StringIdGeneratorImplementation that will accept arbitrary (but unique) String Ids on
 deserialization, and (by default) use random UUID generation similar
 to  ObjectIdGenerators.UUIDGeneratorfor generation ids. | 
| static class  | ObjectIdGenerators.UUIDGeneratorImplementation that just uses  UUIDs as reliably
 unique identifiers: downside is that resulting String is
 36 characters long. | 
| Constructor and Description | 
|---|
| ObjectIdGenerators() | 
Copyright © 2008–2018 FasterXML. All rights reserved.