public class ObjectIdInfo extends Object
JsonIdentityInfo
annotation or its
custom alternativesModifier and Type | Field and Description |
---|---|
protected boolean |
_alwaysAsId |
protected Class<? extends ObjectIdGenerator<?>> |
_generator |
protected PropertyName |
_propertyName |
protected Class<? extends ObjectIdResolver> |
_resolver |
protected Class<?> |
_scope |
Modifier | Constructor and Description |
---|---|
protected |
ObjectIdInfo(PropertyName prop,
Class<?> scope,
Class<? extends ObjectIdGenerator<?>> gen,
boolean alwaysAsId) |
protected |
ObjectIdInfo(PropertyName prop,
Class<?> scope,
Class<? extends ObjectIdGenerator<?>> gen,
boolean alwaysAsId,
Class<? extends ObjectIdResolver> resolver) |
|
ObjectIdInfo(PropertyName name,
Class<?> scope,
Class<? extends ObjectIdGenerator<?>> gen,
Class<? extends ObjectIdResolver> resolver) |
Modifier and Type | Method and Description |
---|---|
static ObjectIdInfo |
empty() |
boolean |
getAlwaysAsId() |
Class<? extends ObjectIdGenerator<?>> |
getGeneratorType() |
PropertyName |
getPropertyName() |
Class<? extends ObjectIdResolver> |
getResolverType() |
Class<?> |
getScope() |
String |
toString() |
ObjectIdInfo |
withAlwaysAsId(boolean state) |
protected final PropertyName _propertyName
protected final Class<? extends ObjectIdGenerator<?>> _generator
protected final Class<? extends ObjectIdResolver> _resolver
protected final Class<?> _scope
protected final boolean _alwaysAsId
public ObjectIdInfo(PropertyName name, Class<?> scope, Class<? extends ObjectIdGenerator<?>> gen, Class<? extends ObjectIdResolver> resolver)
protected ObjectIdInfo(PropertyName prop, Class<?> scope, Class<? extends ObjectIdGenerator<?>> gen, boolean alwaysAsId)
protected ObjectIdInfo(PropertyName prop, Class<?> scope, Class<? extends ObjectIdGenerator<?>> gen, boolean alwaysAsId, Class<? extends ObjectIdResolver> resolver)
public static ObjectIdInfo empty()
public ObjectIdInfo withAlwaysAsId(boolean state)
public PropertyName getPropertyName()
public Class<?> getScope()
public Class<? extends ObjectIdGenerator<?>> getGeneratorType()
public Class<? extends ObjectIdResolver> getResolverType()
public boolean getAlwaysAsId()
Copyright © 2008–2018 FasterXML. All rights reserved.