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 String |
_propertyName |
protected Class<?> |
_scope |
Modifier | Constructor and Description |
---|---|
|
ObjectIdInfo(String prop,
Class<?> scope,
Class<? extends ObjectIdGenerator<?>> gen) |
protected |
ObjectIdInfo(String prop,
Class<?> scope,
Class<? extends ObjectIdGenerator<?>> gen,
boolean alwaysAsId) |
Modifier and Type | Method and Description |
---|---|
boolean |
getAlwaysAsId() |
Class<? extends ObjectIdGenerator<?>> |
getGeneratorType() |
String |
getPropertyName() |
Class<?> |
getScope() |
String |
toString() |
ObjectIdInfo |
withAlwaysAsId(boolean state) |
protected final String _propertyName
protected final Class<? extends ObjectIdGenerator<?>> _generator
protected final Class<?> _scope
protected final boolean _alwaysAsId
public ObjectIdInfo(String prop, Class<?> scope, Class<? extends ObjectIdGenerator<?>> gen)
protected ObjectIdInfo(String prop, Class<?> scope, Class<? extends ObjectIdGenerator<?>> gen, boolean alwaysAsId)
public ObjectIdInfo withAlwaysAsId(boolean state)
public String getPropertyName()
public Class<?> getScope()
public Class<? extends ObjectIdGenerator<?>> getGeneratorType()
public boolean getAlwaysAsId()
Copyright © 2012-2013 FasterXML. All Rights Reserved.