Class ObjectIdInfo
java.lang.Object
com.fasterxml.jackson.databind.introspect.ObjectIdInfo
Container object that encapsulates information usually
derived from
JsonIdentityInfo annotation or its
custom alternatives-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> protected final PropertyNameprotected final Class<? extends com.fasterxml.jackson.annotation.ObjectIdResolver> protected final Class<?> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedObjectIdInfo(PropertyName prop, Class<?> scope, Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen, boolean alwaysAsId) protectedObjectIdInfo(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) -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectIdInfoempty()booleanClass<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> Class<? extends com.fasterxml.jackson.annotation.ObjectIdResolver> Class<?> getScope()toString()withAlwaysAsId(boolean state)
-
Field Details
-
_propertyName
-
_generator
-
_resolver
-
_scope
-
_alwaysAsId
protected final boolean _alwaysAsId
-
-
Constructor Details
-
ObjectIdInfo
public ObjectIdInfo(PropertyName name, Class<?> scope, Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen, Class<? extends com.fasterxml.jackson.annotation.ObjectIdResolver> resolver) -
ObjectIdInfo
protected ObjectIdInfo(PropertyName prop, Class<?> scope, Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen, boolean alwaysAsId) -
ObjectIdInfo
protected ObjectIdInfo(PropertyName prop, Class<?> scope, Class<? extends com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> gen, boolean alwaysAsId, Class<? extends com.fasterxml.jackson.annotation.ObjectIdResolver> resolver)
-
-
Method Details
-
empty
-
withAlwaysAsId
-
getPropertyName
-
getScope
-
getGeneratorType
-
getResolverType
-
getAlwaysAsId
public boolean getAlwaysAsId() -
toString
-