## Uses of Class
com.sleepycat.persist.model.PrimaryKeyMetadata

- Packages that use PrimaryKeyMetadata
  Package | Description
  --- | ---
  com.sleepycat.persist.model | Annotations for defining a persistent object model.

- - ### Uses of PrimaryKeyMetadata in com.sleepycat.persist.model

    Methods in com.sleepycat.persist.model that return PrimaryKeyMetadata
    Modifier and Type | Method | Description
    --- | --- | ---
    `PrimaryKeyMetadata` | ClassMetadata.`getPrimaryKey()` | Returns the primary key metadata for a key declared in this class, or null if none is declared.
    `PrimaryKeyMetadata` | EntityMetadata.`getPrimaryKey()` | Returns the primary key metadata for this entity.

    Constructors in com.sleepycat.persist.model with parameters of type PrimaryKeyMetadata
    Constructor | Description
    --- | ---
    `ClassMetadata​(java.lang.String className, int version, java.lang.String proxiedClassName, boolean entityClass, PrimaryKeyMetadata primaryKey, java.util.Map<java.lang.String,​SecondaryKeyMetadata> secondaryKeys, java.util.List<FieldMetadata> compositeKeyFields)` | Used by an `EntityModel` to construct persistent class metadata.
    `ClassMetadata​(java.lang.String className, int version, java.lang.String proxiedClassName, boolean entityClass, PrimaryKeyMetadata primaryKey, java.util.Map<java.lang.String,​SecondaryKeyMetadata> secondaryKeys, java.util.List<FieldMetadata> compositeKeyFields, java.util.Collection<FieldMetadata> persistentFields)` | Used by an `EntityModel` to construct persistent class metadata.
    `EntityMetadata​(java.lang.String className, PrimaryKeyMetadata primaryKey, java.util.Map<java.lang.String,​SecondaryKeyMetadata> secondaryKeys)` | Used by an `EntityModel` to construct entity metadata.

Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.