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 |
---|---|
|
ObjectIdInfo(PropertyName name,
Class<?> scope,
Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen)
Deprecated.
|
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) |
|
ObjectIdInfo(String name,
Class<?> scope,
Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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)
@Deprecated public ObjectIdInfo(PropertyName name, Class<?> scope, Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen)
@Deprecated public ObjectIdInfo(String name, Class<?> scope, Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen)
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 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 © 2014–2015 FasterXML. All rights reserved.