public class ObjectIdInfo extends Object
JsonIdentityInfo
annotation or its
custom alternativesModifier and Type | Field and Description |
---|---|
protected boolean |
_alwaysAsId |
protected Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> |
_generator |
protected PropertyName |
_propertyName |
protected Class<? extends com.fasterxml.jackson.annotation.ObjectIdResolver> |
_resolver |
protected Class<?> |
_scope |
Modifier | Constructor and Description |
---|---|
protected |
ObjectIdInfo(PropertyName prop,
Class<?> scope,
Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen,
boolean alwaysAsId) |
protected |
ObjectIdInfo(PropertyName prop,
Class<?> scope,
Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen,
boolean alwaysAsId,
Class<? extends com.fasterxml.jackson.annotation.ObjectIdResolver> resolver) |
|
ObjectIdInfo(PropertyName name,
Class<?> scope,
Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen,
Class<? extends com.fasterxml.jackson.annotation.ObjectIdResolver> resolver) |
Modifier and Type | Method and Description |
---|---|
static ObjectIdInfo |
empty() |
boolean |
getAlwaysAsId() |
Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> |
getGeneratorType() |
PropertyName |
getPropertyName() |
Class<? extends com.fasterxml.jackson.annotation.ObjectIdResolver> |
getResolverType() |
Class<?> |
getScope() |
String |
toString() |
ObjectIdInfo |
withAlwaysAsId(boolean state) |
protected final PropertyName _propertyName
protected final Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> _generator
protected final Class<? extends com.fasterxml.jackson.annotation.ObjectIdResolver> _resolver
protected final Class<?> _scope
protected final boolean _alwaysAsId
public ObjectIdInfo(PropertyName name, Class<?> scope, Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen, Class<? extends com.fasterxml.jackson.annotation.ObjectIdResolver> resolver)
protected ObjectIdInfo(PropertyName prop, Class<?> scope, Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen, boolean alwaysAsId)
protected ObjectIdInfo(PropertyName prop, Class<?> scope, Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen, boolean alwaysAsId, Class<? extends com.fasterxml.jackson.annotation.ObjectIdResolver> resolver)
public static ObjectIdInfo empty()
public ObjectIdInfo withAlwaysAsId(boolean state)
public PropertyName getPropertyName()
public Class<?> getScope()
public Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> getGeneratorType()
public Class<? extends com.fasterxml.jackson.annotation.ObjectIdResolver> getResolverType()
public boolean getAlwaysAsId()
Copyright © 2008–2020 FasterXML. All rights reserved.