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)ObjectgenerateId(Object forPojo)com.fasterxml.jackson.annotation.ObjectIdGenerator.IdKeykey(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:
forScopein classcom.fasterxml.jackson.annotation.ObjectIdGenerator<Object>
-
newForSerialization
public com.fasterxml.jackson.annotation.ObjectIdGenerator<Object> newForSerialization(Object context)
- Specified by:
newForSerializationin classcom.fasterxml.jackson.annotation.ObjectIdGenerator<Object>
-
-