# Uses of Class
org.apache.cayenne.map.DbKeyGenerator

Packages that use DbKeyGenerator
Package
Description
org.apache.cayenne.map
Contains O/R mapping classes that store relational database metadata information and map it to Java classes.

- ## Uses of DbKeyGenerator in org.apache.cayenne.map

  Fields in org.apache.cayenne.map declared as DbKeyGenerator
  Modifier and Type
  Field
  Description
  `protected DbKeyGenerator`
  DbEntity.`primaryKeyGenerator`
  Methods in org.apache.cayenne.map that return DbKeyGenerator
  Modifier and Type
  Method
  Description
  `DbKeyGenerator`
  DbEntity.`getPrimaryKeyGenerator()`
  Return the primary key generator for this entity.
  Methods in org.apache.cayenne.map with parameters of type DbKeyGenerator
  Modifier and Type
  Method
  Description
  `void`
  DbEntity.`setPrimaryKeyGenerator(DbKeyGenerator primaryKeyGenerator)`
  Set the primary key generator for this entity.