Example usage for com.fasterxml.jackson.annotation ObjectIdGenerator getScope

List of usage examples for com.fasterxml.jackson.annotation ObjectIdGenerator getScope

Introduction

In this page you can find the example usage for com.fasterxml.jackson.annotation ObjectIdGenerator getScope.

Prototype

public abstract Class<?> getScope();

Source Link

Usage

From source file:com.chiralbehaviors.CoRE.RuleformIdGenerator.java

@Override
public boolean canUseFor(ObjectIdGenerator<?> gen) {
    return gen.getClass() == getClass() && gen.getScope() == scope;
}