com.fasterxml.jackson.databind.introspect
Class ObjectIdInfo
java.lang.Object
com.fasterxml.jackson.databind.introspect.ObjectIdInfo
public class ObjectIdInfo
- extends Object
Container object that encapsulates information usually
derived from JsonIdentityInfo
annotation or its
custom alternatives
_propertyName
protected final String _propertyName
_generator
protected final Class<? extends ObjectIdGenerator<?>> _generator
_scope
protected final Class<?> _scope
_alwaysAsId
protected final boolean _alwaysAsId
ObjectIdInfo
public ObjectIdInfo(String prop,
Class<?> scope,
Class<? extends ObjectIdGenerator<?>> gen)
ObjectIdInfo
protected ObjectIdInfo(String prop,
Class<?> scope,
Class<? extends ObjectIdGenerator<?>> gen,
boolean alwaysAsId)
withAlwaysAsId
public ObjectIdInfo withAlwaysAsId(boolean state)
getPropertyName
public String getPropertyName()
getScope
public Class<?> getScope()
getGeneratorType
public Class<? extends ObjectIdGenerator<?>> getGeneratorType()
getAlwaysAsId
public boolean getAlwaysAsId()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012 FasterXML. All Rights Reserved.