Class PropertyBasedObjectIdGenerator
- java.lang.Object
-
- com.fasterxml.jackson.annotation.ObjectIdGenerator<T>
-
- com.fasterxml.jackson.annotation.ObjectIdGenerators.PropertyGenerator
-
- com.fasterxml.jackson.databind.deser.impl.PropertyBasedObjectIdGenerator
-
- All Implemented Interfaces:
Serializable
public class PropertyBasedObjectIdGenerator extends com.fasterxml.jackson.annotation.ObjectIdGenerators.PropertyGenerator
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PropertyBasedObjectIdGenerator(Class<?> scope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.annotation.ObjectIdGenerator<Object>
forScope(Class<?> scope)
Object
generateId(Object forPojo)
com.fasterxml.jackson.annotation.ObjectIdGenerator.IdKey
key(Object key)
com.fasterxml.jackson.annotation.ObjectIdGenerator<Object>
newForSerialization(Object context)
-
-
-
Constructor Detail
-
PropertyBasedObjectIdGenerator
public PropertyBasedObjectIdGenerator(Class<?> scope)
-
-
Method Detail
-
forScope
public com.fasterxml.jackson.annotation.ObjectIdGenerator<Object> forScope(Class<?> scope)
- Specified by:
forScope
in classcom.fasterxml.jackson.annotation.ObjectIdGenerator<Object>
-
newForSerialization
public com.fasterxml.jackson.annotation.ObjectIdGenerator<Object> newForSerialization(Object context)
- Specified by:
newForSerialization
in classcom.fasterxml.jackson.annotation.ObjectIdGenerator<Object>
-
-