PkGeneratorFactoryProvider (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.configuration.runtime, class: PkGeneratorFactoryProvider

# Class PkGeneratorFactoryProvider

java.lang.Object
org.apache.cayenne.configuration.runtime.PkGeneratorFactoryProvider

public class PkGeneratorFactoryProvider extends Object
Per-adapter provider of PkGenerators

Since:
  4.1

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PkGeneratorFactoryProvider(Map<String, PkGenerator> perAdapterValues, PkGenerator defaultValue)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `PkGenerator`
  `get(DbAdapter adapter)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PkGeneratorFactoryProvider

    public PkGeneratorFactoryProvider(Map<String, PkGenerator> perAdapterValues, PkGenerator defaultValue)

- ## Method Details

  - ### get

    public PkGenerator get(DbAdapter adapter) throws DIRuntimeException
    Throws:
      `DIRuntimeException`