public class PropertyBasedObjectIdGenerator
extends com.fasterxml.jackson.annotation.ObjectIdGenerators.PropertyGenerator
Constructor and Description |
---|
PropertyBasedObjectIdGenerator(Class<?> scope) |
Modifier and Type | Method and 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) |
public PropertyBasedObjectIdGenerator(Class<?> scope)
public com.fasterxml.jackson.annotation.ObjectIdGenerator<Object> forScope(Class<?> scope)
forScope
in class com.fasterxml.jackson.annotation.ObjectIdGenerator<Object>
public com.fasterxml.jackson.annotation.ObjectIdGenerator<Object> newForSerialization(Object context)
newForSerialization
in class com.fasterxml.jackson.annotation.ObjectIdGenerator<Object>
Copyright © 2014–2015 FasterXML. All rights reserved.