Class ObjectIdInfo
- java.lang.Object
-
- com.fasterxml.jackson.databind.introspect.ObjectIdInfo
-
public class ObjectIdInfo extends Object
Container object that encapsulates information usually derived fromJsonIdentityInfo
annotation or its custom alternatives
-
-
Constructor Summary
Constructors Constructor Description ObjectIdInfo(PropertyName name, Class<?> scope, Class<? extends ObjectIdGenerator<?>> gen, Class<? extends ObjectIdResolver> resolver)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectIdInfo
empty()
boolean
getAlwaysAsId()
Class<? extends ObjectIdGenerator<?>>
getGeneratorType()
PropertyName
getPropertyName()
Class<? extends ObjectIdResolver>
getResolverType()
Class<?>
getScope()
String
toString()
ObjectIdInfo
withAlwaysAsId(boolean state)
-
-
-
Constructor Detail
-
ObjectIdInfo
public ObjectIdInfo(PropertyName name, Class<?> scope, Class<? extends ObjectIdGenerator<?>> gen, Class<? extends ObjectIdResolver> resolver)
-
-
Method Detail
-
empty
public static ObjectIdInfo empty()
-
withAlwaysAsId
public ObjectIdInfo withAlwaysAsId(boolean state)
-
getPropertyName
public PropertyName getPropertyName()
-
getScope
public Class<?> getScope()
-
getGeneratorType
public Class<? extends ObjectIdGenerator<?>> getGeneratorType()
-
getResolverType
public Class<? extends ObjectIdResolver> getResolverType()
-
getAlwaysAsId
public boolean getAlwaysAsId()
-
-