public class JSOGGenerator extends com.fasterxml.jackson.annotation.ObjectIdGenerator<JSOGRef>
| Modifier and Type | Field and Description |
|---|---|
protected int |
_nextValue |
protected Class<?> |
_scope |
| Constructor and Description |
|---|
JSOGGenerator() |
JSOGGenerator(Class<?> scope,
int nextValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canUseFor(com.fasterxml.jackson.annotation.ObjectIdGenerator<?> gen) |
com.fasterxml.jackson.annotation.ObjectIdGenerator<JSOGRef> |
forScope(Class<?> scope) |
JSOGRef |
generateId(Object forPojo) |
Class<?> |
getScope() |
boolean |
isValidReferencePropertyName(String name,
Object parser) |
com.fasterxml.jackson.annotation.ObjectIdGenerator.IdKey |
key(Object key) |
boolean |
maySerializeAsObject() |
com.fasterxml.jackson.annotation.ObjectIdGenerator<JSOGRef> |
newForSerialization(Object context) |
protected transient int _nextValue
protected final Class<?> _scope
public JSOGGenerator()
public JSOGGenerator(Class<?> scope, int nextValue)
public Class<?> getScope()
getScope in class com.fasterxml.jackson.annotation.ObjectIdGenerator<JSOGRef>public boolean canUseFor(com.fasterxml.jackson.annotation.ObjectIdGenerator<?> gen)
canUseFor in class com.fasterxml.jackson.annotation.ObjectIdGenerator<JSOGRef>public com.fasterxml.jackson.annotation.ObjectIdGenerator<JSOGRef> forScope(Class<?> scope)
forScope in class com.fasterxml.jackson.annotation.ObjectIdGenerator<JSOGRef>public com.fasterxml.jackson.annotation.ObjectIdGenerator<JSOGRef> newForSerialization(Object context)
newForSerialization in class com.fasterxml.jackson.annotation.ObjectIdGenerator<JSOGRef>public com.fasterxml.jackson.annotation.ObjectIdGenerator.IdKey key(Object key)
key in class com.fasterxml.jackson.annotation.ObjectIdGenerator<JSOGRef>public JSOGRef generateId(Object forPojo)
generateId in class com.fasterxml.jackson.annotation.ObjectIdGenerator<JSOGRef>public boolean maySerializeAsObject()
maySerializeAsObject in class com.fasterxml.jackson.annotation.ObjectIdGenerator<JSOGRef>Copyright © 2017. All rights reserved.