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 |
---|---|
|
ObjectIdInfo(PropertyName name,
Class<?> scope,
Class<? extends ObjectIdGenerator<?>> gen)
Deprecated.
|
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) |
|
ObjectIdInfo(String name,
Class<?> scope,
Class<? extends ObjectIdGenerator<?>> gen)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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)
@Deprecated public ObjectIdInfo(PropertyName name, Class<?> scope, Class<? extends ObjectIdGenerator<?>> gen)
@Deprecated public ObjectIdInfo(String name, Class<?> scope, Class<? extends ObjectIdGenerator<?>> gen)
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 ObjectIdInfo withAlwaysAsId(boolean state)
public PropertyName getPropertyName()
public Class<?> getScope()
public Class<? extends ObjectIdGenerator<?>> getGeneratorType()
public Class<? extends ObjectIdResolver> getResolverType()
public boolean getAlwaysAsId()
Copyright © 2016 JBoss by Red Hat. All rights reserved.