com.fasterxml.jackson.databind.ser.impl
Class PropertyBasedObjectIdGenerator
java.lang.Object
com.fasterxml.jackson.annotation.ObjectIdGenerator<T>
com.fasterxml.jackson.annotation.ObjectIdGenerators.PropertyGenerator
com.fasterxml.jackson.databind.ser.impl.PropertyBasedObjectIdGenerator
public class PropertyBasedObjectIdGenerator
- extends com.fasterxml.jackson.annotation.ObjectIdGenerators.PropertyGenerator
Nested classes/interfaces inherited from class com.fasterxml.jackson.annotation.ObjectIdGenerator |
com.fasterxml.jackson.annotation.ObjectIdGenerator.IdKey |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_property
protected final BeanPropertyWriter _property
PropertyBasedObjectIdGenerator
public PropertyBasedObjectIdGenerator(ObjectIdInfo oid,
BeanPropertyWriter prop)
PropertyBasedObjectIdGenerator
protected PropertyBasedObjectIdGenerator(Class<?> scope,
BeanPropertyWriter prop)
generateId
public Object generateId(Object forPojo)
forScope
public com.fasterxml.jackson.annotation.ObjectIdGenerator<Object> forScope(Class<?> scope)
- Specified by:
forScope
in class com.fasterxml.jackson.annotation.ObjectIdGenerator<Object>
newForSerialization
public com.fasterxml.jackson.annotation.ObjectIdGenerator<Object> newForSerialization(Object context)
- Specified by:
newForSerialization
in class com.fasterxml.jackson.annotation.ObjectIdGenerator<Object>
key
public com.fasterxml.jackson.annotation.ObjectIdGenerator.IdKey key(Object key)
- Specified by:
key
in class com.fasterxml.jackson.annotation.ObjectIdGenerator<Object>
Copyright © 2012 fasterxml.com. All Rights Reserved.