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