public class PropertyBasedObjectIdGenerator extends ObjectIdGenerators.PropertyGenerator
ObjectIdGenerator.IdKey
Constructor and Description |
---|
PropertyBasedObjectIdGenerator(Class<?> scope) |
Modifier and Type | Method and Description |
---|---|
ObjectIdGenerator<Object> |
forScope(Class<?> scope) |
Object |
generateId(Object forPojo) |
ObjectIdGenerator.IdKey |
key(Object key) |
ObjectIdGenerator<Object> |
newForSerialization(Object context) |
isValidReferencePropertyName, maySerializeAsObject
public PropertyBasedObjectIdGenerator(Class<?> scope)
public ObjectIdGenerator<Object> forScope(Class<?> scope)
forScope
in class ObjectIdGenerator<Object>
public ObjectIdGenerator<Object> newForSerialization(Object context)
newForSerialization
in class ObjectIdGenerator<Object>
public ObjectIdGenerator.IdKey key(Object key)
key
in class ObjectIdGenerator<Object>
Copyright © 2008–2020 FasterXML. All rights reserved.